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
martin
ed194e826a
Repeat the fragmentation on lo0 test, but with checksum on IFF_LOOPBACK
...
interfaces enabled.
2011-04-10 11:31:48 +00:00
martin
3d772d583a
Remove expected failure, PR has been fixed.
2011-04-09 20:42:12 +00:00
pooka
c87fb89aa0
make netcfg produce sensible results in a non-atf env
2011-02-28 21:21:14 +00:00
kefren
233a38c913
Problem was fixed, don't expect to fail anymore
2011-02-10 07:47:50 +00:00
pooka
5e6b266d97
Time to start adding tests for the routing code to make that part
...
of the kernel more approachable.
Begin the task with an xfail test for PR kern/40455.
2011-02-08 10:11:28 +00:00
pooka
68e1e43ec7
add test for PR kern/44369
2011-01-11 10:51:45 +00:00
martin
7e35902cb8
Use raw buffer size (not aligned value) to limit packet size
2011-01-05 14:43:40 +00:00
martin
db69e273a2
Fix alignment of sndbuf (sparc64 got a SIGBUS in this test)
2011-01-05 14:08:12 +00:00
christos
00a6054507
PR/44310: Alexander Nasonov: write to /dev/bpf truncates size_t to int
2011-01-03 02:53:15 +00:00
pooka
bc1c80f7e8
Substitute a surgical rump_server configuration for rump_allserver
...
now that it's possible. With warm fs cache, the startup time of
the former is 0.01s and the latter 0.1s. With cold caches it's
0.2s vs 2s.
2010-12-30 16:58:07 +00:00
pooka
5a30a389c0
atf-check => atf_check
2010-12-18 08:35:53 +00:00
pooka
91ed45ab3f
use ping -n, since technically we don't have dns
2010-12-14 19:08:22 +00:00
pooka
756d5b62e3
Add another version of the simple ping test, this time written as a
...
shell script and using rump_server, rump.ifconfig and rump.ping.
XXX: uses rump_allserver for now, though, since i noticed a problem
where the rump kernel syscall vector does not get updated for
dlopen()'d libraries (and hence if you dlopen librumpnet.so, socket()
still gives ENOSYS). Me be fixink it later.
2010-12-14 11:03:17 +00:00
pooka
1a21107ad9
Add an xfail test for the mbuf leak described in PR kern/44196.
...
This is yet another example of a simple test which would be much
trickier to execute against the host kernel. You would either need
to put networking in a complete lockdown, or do some "statistical"
methods where you trigger the bug many many times and attempt to
ascertain a rising trend in mbuf count. And, of course, the leaked
mbufs don't go away from the host kernel once the test ends. In
contrast, we *know* that there is no other networking activity in
a rump kernel, so we can execute the operation exactly once, plus
the leaked mbuf "disappears" when the test is done.
2010-12-06 11:32:01 +00:00