Commit Graph

2365 Commits

Author SHA1 Message Date
christos 05ea9f0e38 Add tests for %z 2015-10-29 17:48:20 +00:00
christos 9ca3dc7d85 remove debugging test 2015-10-18 18:27:25 +00:00
christos 3075d03889 add code to dump the mbuf contents 2015-10-18 18:26:55 +00:00
christos 40c99df3a6 Add an anonymous struct test 2015-10-14 16:32:55 +00:00
ozaki-r 44c97db88f Add tests for assigining/deleting IP addresses
The tests help to find defects related to creation/deletion
of routes/llentries and assigning/deleting of IP addresses.
2015-10-07 05:24:41 +00:00
uebayasi 8b6b28e153 Catch up with the current, generated Makefile format. 2015-10-04 07:59:47 +00:00
ozaki-r 3f3bb7d2ee Add delay to improve stability of test 2015-09-30 06:08:36 +00:00
ozaki-r 837fd81e06 Let ftp use a different output file from httpd's one
Previously the target file served by httpd and the output file of ftp
were identical (both index.html) on the filesystem.
2015-09-29 08:27:24 +00:00
ozaki-r dacbac7968 Add simple tests for fastforward
The tests just do TCP communication via HTTP GET.
2015-09-28 01:54:14 +00:00
ozaki-r c656a96f13 Improve test stability
ifconfig -a -v after ifconfig -a -z is expected to show '0 packets' for
all interface. However, shmif0 can receive packets between the two
operations. So we have to keep shmif0 down during such tests.
2015-09-15 09:51:01 +00:00
ozaki-r f2a7b1339e Add tests for IPv6 ICMP redirect
Note that tests for redirect timeout doesn't work for now due to
PR kern/50240.

From s-yamaguchi@IIJ (with some fixes and tweaks by ozaki-r)
2015-09-14 05:22:56 +00:00
christos 200d779b75 make error more informative. 2015-09-12 15:21:33 +00:00
martin 4c5334afe3 Add two test cases that should cover PR 50228. 2015-09-11 09:25:52 +00:00
dholland 814554f5b1 Clear the XFAIL from PR 45391. 2015-09-08 05:24:27 +00:00
ozaki-r cc31cfa669 Add tests to check if nexthop route lookup works
These tests reproduce a panic on assertion "ro->_ro_rt ==NULL ||
ro->_ro_rt->rt_refcnt > 0" failure that had been fixed.
2015-09-04 05:24:57 +00:00
ozaki-r 933f94aa13 Add tests for ifconfig options
From s-yamaguchi@IIJ (with some tweaks by me)
2015-09-03 10:22:52 +00:00
ozaki-r 0dac802154 Reflect the current ARP cache implementation in tests
net.inet.arp.prune and net.inet.arp.refresh were obsoleted.
2015-08-31 08:08:20 +00:00
ozaki-r 4e97073b73 Add tests for ICMP redirect timeout 2015-08-31 06:16:08 +00:00
dholland 796a8727a3 Remove rubbish. 2015-08-30 18:27:26 +00:00
dholland aeaad94cd5 Fix glaringly wrong indent. 2015-08-29 19:19:43 +00:00
martin c36c18165c Mark the ssh test as expected failure pointing to PR lib/50174 2015-08-26 09:19:20 +00:00
ozaki-r 67b961d3c9 Give a chance to send a DAD announce packet
ifconfig -w ensures IP addresses have left tentative state, however,
it doesn't guarantee that a DAD announce packet is sent. The kernel
clears tentative flag and then sends the packet so that ifconfig -w
can return before the kernel sends the packet.
2015-08-25 02:24:34 +00:00
ozaki-r 1a07436188 Disable another tentative state check
It's too ephemeral to check robustly.
2015-08-24 02:02:25 +00:00
christos 7ec9eaaab4 another wait test. 2015-08-23 07:15:16 +00:00
christos fddcbf3df7 don't abuse %m in printf
fix error messages
2015-08-21 14:19:10 +00:00
ozaki-r c8aae55351 Make a test a bit easy
Accept just 24h of expiration time in addition to 24h - a few seconds.
2015-08-18 00:58:35 +00:00
ozaki-r c75b32f0a0 Improve test stability
A test for ndp -c was sometimes failed because between the deletion
and the check NS/NA messages were exchanged and a NDP cache was
recreated unexpectedly. To provent this situation, we do ifconfig
shmif0 down of the peer before the test, so the test won't be
interfered by the messages.
2015-08-17 07:47:21 +00:00
ozaki-r e266b2d0dd Improve test stability
- Take a diff between packet dumps and use it for packet checking
  - it's resistant against packet reorder
- Seep 2 sec to make sure a NS message is sent
- Disable tentative state check for now
  - it's too ephemeral to check robustly
2015-08-17 07:06:58 +00:00
ozaki-r 14dcf9ff75 Reflect a fix on rt_refcnt
The test was adjusted based on wrong behavior.
2015-08-13 10:22:21 +00:00
ozaki-r 3e44abc850 Fix head and cleanup definitions for cache_expiration tests 2015-08-10 09:32:01 +00:00
ozaki-r 94e6f63fa9 Fix cleanup 2015-08-10 09:31:13 +00:00
ozaki-r 17bcc6ffef Check MAC address of ARP caches additionally 2015-08-07 05:32:12 +00:00
ozaki-r 7284c53128 Use rump.ping6 instead of ping6 with rumphijack(3) 2015-08-07 00:50:12 +00:00
ozaki-r 1f31785d33 Add basic tests for IPv6 Address Lifetime Expiry 2015-08-06 08:23:14 +00:00
ozaki-r 2179c9b76f Check the output of ndp -d strictly 2015-08-04 07:43:25 +00:00
ozaki-r 2f55a7d3ed Add tests for NDP 2015-08-03 09:54:20 +00:00
ozaki-r 25711fd317 Return 0 explicitly to avoid unexpected failures when $DEBUG=false 2015-07-31 10:16:36 +00:00
ozaki-r 6abe86b9fd Add tests of cache overwriting 2015-07-31 02:39:12 +00:00
ozaki-r bf665d2f84 Add tests for temp option 2015-07-31 02:35:09 +00:00
ozaki-r 5d6a850962 Remove remaining debug code 2015-07-31 00:23:54 +00:00
ozaki-r 5e8861aca5 Fix cleanup; halt all running rump_servers 2015-07-31 00:22:44 +00:00
ozaki-r 7a175f4063 Add tests for arp -a option 2015-07-30 08:41:18 +00:00
ozaki-r 3fd3aaa9ea Fix TESTS_SH assignment 2015-07-30 05:43:42 +00:00
ozaki-r 0f1639b8cc Add tests for IPv4 DAD 2015-07-30 02:52:53 +00:00
ozaki-r b4bfe1a892 Add tests for GARP 2015-07-30 02:51:05 +00:00
christos 862f3563b3 new test 2015-07-29 18:26:15 +00:00
ozaki-r 8fd2ad14ac Add tests for ARP
Forgot to commit this. Should fix the build.
2015-07-29 12:05:10 +00:00
ozaki-r d4516589be Add tests for ARP 2015-07-29 06:10:09 +00:00
christos 198668b6a8 new c99 init test found by xorg's Iconify.c 2015-07-28 18:05:19 +00:00
ozaki-r 7dd2779b49 Reflect a fix for bridge
Due to PR 48104, some tests of ping/ping6 were failed but the tests now
should be successful. So reverse atf_check.

Bonus: the fix for PR 48104 also fixes another uknown failure.
2015-07-23 11:05:34 +00:00