Commit Graph

24 Commits

Author SHA1 Message Date
ozaki-r ce0ae1dfed tests: use rump_server_add_iface to create interfaces 2019-08-19 03:22:05 +00:00
ozaki-r a96cce565c tests: check that a new cache is not created over the limit 2019-07-09 02:50:24 +00:00
gson db7bf52ef5 Increase the timeout for the manyaddrs test case; the default is often
insufficient under qemu.
2019-05-31 15:36:10 +00:00
ozaki-r 82733c9693 Add a test to show a large number of MAC addresses cached in a bridge 2018-11-09 06:45:03 +00:00
ozaki-r 0be59150b6 Add a test that checks if brconfig flush surely removes all entries 2018-04-18 04:03:12 +00:00
ozaki-r f72ad93267 Add a test case for bridge_rtdelete 2018-04-10 07:09:00 +00:00
ozaki-r 95dd9007db Commonalize and add tests of creating/destroying interfaces 2018-02-01 05:22:01 +00:00
ozaki-r ccc1fa9d34 Separate tests for learning table of bridge 2017-03-11 04:24:52 +00:00
ozaki-r 5a83ceea44 Share rump_server start/stop and interface creation/destruction functions
The common functions store socks of rump_servers, interfaces of rump_servers
and buses that intefaces connect and allow to destroy them with common
functions without specifying which socks, interfaces and buses we should
destroy.

This change reduces lots of similar setup/cleanup codes.
2016-11-25 08:51:16 +00:00
ozaki-r 731c5c346e Add $DEBUG and remove a unused function 2016-11-25 08:10:50 +00:00
ozaki-r 554c6ec338 Move get_macaddr to net_common.sh 2016-11-24 09:07:09 +00:00
kre e416c313ce + -lrumpdev (and avoid doing stuff twice). 2016-08-10 22:37:07 +00:00
ozaki-r f91dfc925e Make a bunch of test names self-descriptive 2016-06-21 05:04:16 +00:00
ozaki-r 7284c53128 Use rump.ping6 instead of ping6 with rumphijack(3) 2015-08-07 00:50:12 +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
ozaki-r 95529645e4 Add missing cleanup 2015-06-10 03:29:37 +00:00
ozaki-r 978c966b4f Add tests for bridge members with an IP address
The tests include checks for PR#48104 which is not fixed yet.

Note that one test unexpectedly fails for some reason
(unrelated to PR#48104). We have to fix it somehow.
2015-06-09 00:39:53 +00:00
ozaki-r 8192754c00 Disable test_ping_failure which is conducted before setup_bridge
It randomly fails (esp, often on a slow or loaded machine) due to
PR kern/49219, so disable it for now.

I forgot why I didn't include the test when I committed the test
at first and wrongly added it at v1.4.
2015-05-29 10:08:52 +00:00
ozaki-r 3030e5a0ee Bump timeout for ping and ping6 to 5 sec
Hope the wait is enough for slow machines, e.g., qemu/anita/i386.
2015-05-29 02:06:46 +00:00
ozaki-r 2f78640437 Get rid of unnecessary shebang
It will be added when it's built.
2015-05-29 01:54:56 +00:00
ozaki-r 9fbb6a243a Enable IPv6 negative tests
As ping6 timeout feature (-X option) is added, we can do negative
tests without wasting time.

1 sec delay is added after network setup to avoid false positives.
2015-05-16 14:29:37 +00:00
ozaki-r ac80d197aa Add tests for brconfig maxaddr 2015-01-08 06:33:11 +00:00
ozaki-r fdb884f32b Add some tests for rtable operations of if_bridge 2015-01-07 08:55:01 +00:00
ozaki-r 5937935b47 Add net/if_bridge test 2014-09-18 15:13:27 +00:00