Commit Graph

129 Commits

Author SHA1 Message Date
alnsn
2b2f4a0ebe Add bpfjit_cop_copx and bpfjit_copx_cop tests. 2014-07-13 21:35:33 +00:00
alnsn
674ca560ce Fix copy/paste error: s/rump_unschedule/rump_schedule/. 2014-07-09 15:56:12 +00:00
alnsn
467461f7c4 Add t_cop and t_extmem kernel bpfjit tests to the build. 2014-07-09 13:50:48 +00:00
alnsn
f80c8c7700 Add t_cop and t_extmem kernel bpfjit tests. 2014-07-09 13:49:49 +00:00
alnsn
0240ba3c8b Add t_mbuf tests to the build. 2014-07-08 21:47:21 +00:00
alnsn
f2b7757e98 Move bpfjit mbuf tests to t_mbuf.c. 2014-07-08 21:45:55 +00:00
alnsn
e1f7888b18 Clone libbpfjit tests to check kernel implementation of bpfjit.
Old content of t_bpfjit.c will be moved to t_mbuf.c shortly.
Change packet buffers to unsigned char[] type.
2014-07-08 21:44:26 +00:00
alnsn
6cabebfe85 Add bpf/t_mbuf test to the build. 2014-07-07 19:41:22 +00:00
alnsn
c129c2d504 Add rump tests for checking how bpf_validate() works with mbuf chains. 2014-07-07 19:40:28 +00:00
alnsn
a8013faa06 Add some helper functions for bpf/bpfjit rump tests. 2014-07-07 19:34:32 +00:00
alnsn
66c2729de9 Fix test directory. 2014-06-30 21:34:22 +00:00
alnsn
d32d6008b1 Add bpfjit kernel tests for loading from mbuf chain. 2014-06-30 21:30:51 +00:00
alnsn
65b8637bc0 Zap trailing spaces. 2014-06-24 11:32:36 +00:00
he
f693807fd8 Fix static linking for the tests: -lrump is also used by -lrumpuser,
so we also need -lrump after -lrumpuser.  Fixes build for sun2.
2014-06-10 04:28:39 +00:00
riastradh
6cb10275d0 Merge riastradh-drm2 to HEAD. 2014-03-18 18:20:35 +00:00
pooka
7e5de72e53 ldpd wants inet6 2014-01-03 13:14:50 +00:00
alnsn
202116b0b6 Add bpfilterbadmem, bpfilternoinitA and bpfilternoinitX tests. 2013-12-18 22:39:16 +00:00
christos
fa1e6d6374 CID 1107543, 230676, 1107543, 976795, 230676, 976795, 1125885, etc. 2013-11-13 21:41:23 +00:00
kefren
f7c77f192b Retire t_ldp_static. It's too heavy weighted for releng's anita and mostly
unsuited for atf.
2013-11-12 12:22:33 +00:00
christos
f59006a79a write fail as a proper macro 2013-10-20 17:36:36 +00:00
christos
d56fcfc956 fix unused variable warnings 2013-10-19 17:45:00 +00:00
christos
11fdff5426 CID 1107548: resource leak 2013-10-17 12:53:28 +00:00
christos
73a690f0f7 CID 1107550: resource leak 2013-10-17 12:52:09 +00:00
christos
0703489a8c more tests 2013-10-12 17:26:32 +00:00
christos
ee07b6a10b new test to check if non-blocking sockets are reset to blocking on the
accepted file descriptor.
2013-10-12 15:29:16 +00:00
christos
4b23c29b39 make this work on linux 2013-10-10 16:01:55 +00:00
christos
dc8626c22e Improve tests so that they check the sockaddr's returned by accept(2) and
getsockname(2). Test for accept success after closed client socket.
2013-10-08 18:05:31 +00:00
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