ozaki-r
ba54e088ff
Fix LDADD.t_compat
...
This unbreaks the build.
2014-12-08 07:34:31 +00:00
ozaki-r
b5aa5c8930
Add basic tests for ifconf (SIOCGIFCONF)
2014-12-08 04:23:03 +00:00
alnsn
215bab86a5
Add BPF_MOD tests. Plus one tiny change.
2014-11-20 11:36:13 +00:00
alnsn
b61069b6e9
Add BPF_XOR tests.
2014-11-19 22:56:35 +00:00
christos
0e3249fea3
fix typo, use different address
2014-10-27 21:28:58 +00:00
christos
c57b8469e4
- deal with MacOS/X not having clock_*()
...
- change multicast address
- set the interface
XXX: Now the ipv6 code works on MacOS/X but does not work for us still.
2014-10-26 18:33:43 +00:00
martin
cb0ae2ce0b
timespec.tv_nsec is long, so use %ld instead of %jd as printf format.
2014-10-13 06:57:08 +00:00
christos
793de535ef
typo
2014-10-13 04:57:11 +00:00
christos
35954f72d1
Oops need to bind, also make the message more interesting and check that
...
it arrives correctly.
2014-10-13 04:56:26 +00:00
christos
76ec08071f
Explain what works, what does not and why.
...
Provide compatible code so that it compiles on Linux and MacOS/X with -DTEST.
We should check more OS's and see if they are broken too.
2014-10-12 19:49:01 +00:00
christos
0de04e721e
now we support the v6 ioctls for mapped addresses too.
2014-10-12 18:56:57 +00:00
christos
3242dd1614
Explain a bit more what's going on with the multicast setsockopts.
2014-10-12 14:53:46 +00:00
christos
dce98dc1a7
Add the simple unconnected tests too.
2014-10-12 13:48:25 +00:00
christos
dec90ca99d
add a multicast test (what to do with v6?)
2014-10-11 23:04:42 +00:00
ozaki-r
5937935b47
Add net/if_bridge test
2014-09-18 15:13:27 +00:00
gson
09436ed198
The t_ldp_regen test frequently fails under qemu, but reliably passes
...
on real hardware. The failures are hardly surprising given that qemu
timing is off by a is off by a factor of two as reported in
PR kern/43997. Disabling the test on qemu for now; it should be
re-enabled once 43997 has been fixed to see if it still fails then.
2014-09-01 06:38:35 +00:00
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