Commit Graph

102 Commits

Author SHA1 Message Date
kefren 6ca68e7c50 Disable ip forwarding at penultimate hop
Raise the ping wait time a little bit in order for changes to propagate
over ldp
2013-07-27 14:39:24 +00:00
kefren 6ea87284a2 don't expect failure anymore 2013-07-27 14:36:39 +00:00
kefren 2276864e5a add a couple of tests for dynamic MPLS routes generation using ldpd 2013-07-25 14:28:29 +00:00
kefren f9bf6846c4 Use . for shm bus path and rump_server url instead of /tmp
Exit after first reply in mpls_fw
2013-07-23 12:41:01 +00:00
martin 4ddc14a004 Move all shm files from /tmp into . so ATF can automatically do cleanup
for us. Ok: kefren
2013-07-23 12:14:49 +00:00
kefren 96e1b99106 Add a test for RFC4182 2013-07-23 11:26:33 +00:00
kefren ff6f2bd928 Add a couple of basic IP/MPLS forwarding tests 2013-07-19 04:00:40 +00:00
pooka 528e47fc44 Remove makevirtif(), it's not likely to be used in testing.
(and this file should go away anyway in favor of using ifconfig etc.)
2013-07-03 19:13:33 +00:00
nakayama f7f884f97e Enable tests which does not require rump if MKRUMP=no.
Pointed out by christos on source-changes-d.
2013-07-03 14:01:29 +00:00
christos 9e823bd0f7 add a pktinfo test 2013-06-27 20:01:24 +00:00
pooka f467be3ba1 Rump kernel hypercalls are not necessary here. 2013-03-01 13:49:42 +00:00
joerg 94bcefa490 Check for RUMP programs before using them. 2013-02-19 21:08:24 +00:00
christos 353430cc63 fix messages. 2013-01-06 02:22:50 +00:00
christos 436fdc82bd new udp test 2013-01-06 00:35:22 +00:00
martin c7ba7e0c07 Try to make this test gracefully fail when npftest is not available 2012-09-18 08:28:15 +00:00
joerg 69d9b49983 Workaround infrastructure bug where additional rpath flags are added for
/lib, resulting in linker warnings for the compat case.
2012-09-13 21:13:34 +00:00
martin 001611b06f ATF wrapping of the npf tests 2012-09-12 14:06:31 +00:00
adam af67173111 Fix building with MKCOMPAT=no 2012-09-10 11:29:06 +00:00
alnsn b8a85c6989 Replace usleep(500000) with a synchronization over a pipe. 2012-09-04 22:31:58 +00:00
alnsn db95257927 Fix test timeout. 2012-09-03 21:27:14 +00:00
pgoyette af44ca577f There's a known-but-unresolved race condition in here somewhere that
causes these tests to sometimes deadlock.  Since they run really fast
when they are successful, it doesn't do any good to wait for the
default 5-minute timeout.  So explicitly set timeout for these tests
to just 30 seconds.
2012-08-31 04:02:21 +00:00
alnsn d52ebd2ff5 Close pipes on exit. 2012-08-16 20:16:06 +00:00
alnsn 16465504ed Wait for a child to initialise its network stack before sending a ping.
Decrease BIOCSRTIMEOUT to 500ms.
2012-08-16 19:42:23 +00:00
martin 6d924f6074 Slightly reaarange, so that the 32bit version actually gets compiled
and linked with -m32.
2012-08-16 10:14:03 +00:00
martin 324d0ec850 Do not disturb the atf output with debugging echos 2012-08-16 08:39:43 +00:00
alnsn 196af63e15 Test contiguous buffer as well. 2012-08-15 21:36:00 +00:00
alnsn a5a1874fdf Add __RCSID and and make a couple of stylistic changes. 2012-08-14 19:40:30 +00:00
alnsn e7e64dcaa1 Build and install t_bpfilter. 2012-08-14 19:13:54 +00:00
alnsn a385466d91 Add t_bpfilter test. At the moment, it only checks
that bpf program can read bytes from mbuf chain.
2012-08-14 19:09:15 +00:00
christos e3b23739ec add fdpass tests 2012-08-13 11:15:05 +00:00
christos cb461c6808 Exclude tests that use rump 2012-08-08 13:57:05 +00:00
christos 40114b997c PR/46602: Move the rfc6056 port randomization to the IP layer. 2012-06-22 14:54:34 +00:00
jruoho 543143cf18 Move more PR references from comments to ATF's "descr". 2012-03-18 09:46:50 +00:00
christos 3b23191359 PR/44196 is now fixed, so don't expect a failure. 2012-01-13 16:28:44 +00:00
joerg d1de422af2 Remove unused variable 2011-12-18 22:51:00 +00:00
jruoho 48e7c88486 Add missing copyright ((c) @christos). 2011-11-05 19:01:42 +00:00
jruoho 56b331c000 Move connect(2), listen(2) and socketpair(2) tests to the right place. 2011-11-05 18:19:01 +00:00
christos 94a17dd165 socketpair test. 2011-11-04 02:23:39 +00:00
christos 5d5cd00fc9 Fixed reversed/child parent and check the right variable for failure from
gson@
2011-10-04 16:28:26 +00:00
christos 3608a76ca2 Fix the exceed test. 2011-10-03 14:55:23 +00:00
christos 4bea49e915 use ATF_CHECK_MSG instead of err() in atf. 2011-09-30 19:12:35 +00:00
christos 216c13827a add back the raw test and fix typo in the libraries. 2011-09-28 23:11:12 +00:00
christos 2a89e8adcf revert part of previous that was wrong. 2011-09-28 22:19:52 +00:00
christos e244cf19e9 fix error message 2011-09-28 22:08:12 +00:00
christos 9d31325887 Add a unix socket pathname size limit test. 2011-09-28 16:13:03 +00:00
christos b0aa149fb2 Add an rfc6056 test. 2011-09-24 18:34:18 +00:00
christos 60e8629a5d fix fallout from including signal.h from rump_syscallargs.h 2011-06-26 13:15:22 +00:00
christos 5c85f3b56b fix fallout from including signal.h in rump_syscallargs.h 2011-06-26 13:13:31 +00:00
jmmv 9b4c1721f3 Instead of doing 'atf_check ... sh -c foo', just do 'atf_check ... -x foo'. 2011-05-14 17:42:28 +00:00
martin 29b0298b15 Minor simplification 2011-04-26 18:42:08 +00:00