Commit Graph

689 Commits

Author SHA1 Message Date
pooka
fbc821a08c Add a simple test for the purpose of making sure rumphijack works
on -current in addition to 5.x.  The test serves a simple index.html
on a hijacked bozohttpd and checks the file can be retrieved.
2011-02-06 18:44:29 +00:00
pooka
5cae2aa40c test case for PR kern/44515 2011-02-04 19:58:10 +00:00
pooka
bcbc24966e convert tests from oldstyle dd rif/rof to newstyle dd | rump.dd 2011-02-04 19:44:00 +00:00
pooka
34e15b860b commit works better when you cvs add first 2011-02-03 17:21:17 +00:00
pooka
f43ab2f10c add tests for the -d functionality of rump_server(1) 2011-02-03 15:38:18 +00:00
pooka
6ebb7d5324 add a few overwrite-related tests 2011-02-02 14:42:15 +00:00
njoly
9634a49aaa Now that PR/44302 is fixed, fs/vfs/t_ro:sysvbfs_rmfile should not fail
anymore.
2011-01-31 18:53:29 +00:00
pooka
e8bcfa54fd Add test case for F_GETLK pid-oddness from PR kern/44494.
I found the test case a little difficult to understand (because of
many indices), so I added a few more comments after I think I
figured out what was going on.
2011-01-31 10:01:26 +00:00
pooka
7605725b2b test for rumpclient reconnect feature 2011-01-24 17:51:29 +00:00
pooka
4fec18bfb3 Represent test data as bytes to make it "endian-independent".
from martin
2011-01-24 08:26:23 +00:00
martin
2f62f26a09 Fix off by one that made most of these tests die with a bus error in the
sparc64 runs.
2011-01-15 20:16:57 +00:00
pooka
1a076ae981 test remove signal delivery 2011-01-14 13:23:15 +00:00
pooka
054b6364bc elementary tests for rump sigmodels 2011-01-14 13:08:00 +00:00
pgoyette
7a60df3213 Moving t_hsearch - belongs in stdlib/ 2011-01-13 14:32:35 +00:00
pgoyette
4eb3e8521c Another test moving: lib/libc/t_inet --> lib/libc/inet/t_inet_network 2011-01-13 13:53:49 +00:00
pooka
e05c64d657 wrap system() in SIG_DFL so that child-bearing fs tests (puffs,
nfs) don't go cuckoo when the process executed by system() takes a
backstage left.
2011-01-13 12:55:19 +00:00
pooka
d83ec60314 xfail PR kern/44383: whiteouts are generally speaking kaput 2011-01-13 11:00:19 +00:00
pooka
43c818f719 Add a test case for a r/o lower layer which attempts to create some
whiteouts and opaque dirs in the upper layer.  The sad news is this
simple test fails across the board.  It's pretty hard to figure
out how unionfs should work in $fs given that even the simplest
things don't work with ffs.
2011-01-13 10:33:01 +00:00
pgoyette
c15f77f136 Last one for today: move t_ptm test from lib/libc/ to lib/libc/ttyio/ 2011-01-13 03:19:57 +00:00
pgoyette
542ee7575d Make sure we build all of thests, not just the last one (use += vs =) 2011-01-13 03:09:54 +00:00
pgoyette
9704d7e1f8 Repair some printf formats 2011-01-13 03:00:41 +00:00
pgoyette
1c807dbe53 Continuing the (re)organization of the lib/libc atf regression tests 2011-01-13 02:40:43 +00:00
pgoyette
ec5cad1d54 Re-add missing -lpthread and fix some structure inializers (not sure how
these ever compiled)
2011-01-13 02:24:51 +00:00
pgoyette
374d5969a4 The nsdispatch test belongs in libc/net and not in libc 2011-01-13 01:56:44 +00:00
pgoyette
004608e402 Move t_mktime and t_strptime to their own ..../time/ subdirectory.
(Concurrence from christos@)
2011-01-13 00:14:10 +00:00
pooka
76c771d82c xfail for PR kern/44377 2011-01-12 22:42:24 +00:00
pooka
65d8e9cc2d Instead of hardcoding fs list just try to mount union and skip all
file systems which return EOPNOTSUPP.
2011-01-12 21:45:39 +00:00
pooka
b23eef386e Move basic unionfs test from fs/union to fs/vfs and make it test
all whiteout-supporting file systems with the file system in question
as the upper layer.  Also, add an unlink to the test to see if
whiteouts are really working.

ffslog_basic is the test case for PR kern/44377
2011-01-12 21:13:26 +00:00
pgoyette
6fdb369dfe Put the atexit test where it belongs - in libc/stdlib/ 2011-01-12 19:44:07 +00:00
pgoyette
2517c83d16 Move the servent and protoent tests to src/tests/lib/libc/net/ (where
they should have gone initially).
2011-01-12 17:32:27 +00:00
pooka
afb452e673 Simplify test: there's no reason to mount 2x ffs. 2011-01-12 17:16:24 +00:00
pooka
d086663369 Execute a variety of syscalls in the stress test, including opening
files and sockets.
2011-01-12 12:32:53 +00:00
pooka
0ba14b52f9 * run the killer stress test
* reduce default runtime to 5s
2011-01-12 11:39:20 +00:00
pooka
147af0c4be Give the stress queen two modes: one which nicely suggests an exit
and another one which keeps moet et chandon in her pretty cabinet.
2011-01-12 11:37:45 +00:00
pooka
8a712a9c10 Establish signal handler already in parent. Otherwise the child
might be killed before it has a chance to run.
2011-01-12 11:12:25 +00:00
pgoyette
7755b90bc1 Now that the test has been placed in its new location, remove it from
the old
2011-01-12 03:00:28 +00:00
pgoyette
01a7ddb233 By request, put the getaddrinfo test in tests/lib/libc/net/ 2011-01-12 02:58:40 +00:00
pgoyette
c177834af5 Atf-ify the getaddrinfo test, with updated "golden" output files. 2011-01-11 16:30:53 +00:00
kefren
eea5c39883 add test for kern/43321, blessed by pooka@ 2011-01-11 14:03:38 +00:00
pooka
cc362f9900 Print some more info in an attempt to try to understand why the
test fails in automated test runs but not my desktop.
2011-01-11 11:26:28 +00:00
pooka
68e1e43ec7 add test for PR kern/44369 2011-01-11 10:51:45 +00:00
pooka
4665e3c895 need unrace-catcher for ffslog 2011-01-11 09:32:50 +00:00
riz
99384b2def Copy a little less data in the ufs2, 4096-byte block test cases.
The file system was filling up instead of *almost* filling up, which
threw off the tests.
2011-01-11 00:50:02 +00:00
pooka
617df94e9c Make sure stressclient worker threads complete their operation
instead of hanging.
2011-01-10 19:51:37 +00:00
pooka
e95a17b9a5 check that we actually go into the signal handler 2011-01-10 19:30:21 +00:00
njoly
67aa333d97 Do close fd 4 in cerror_64 testcase too. 2011-01-10 16:54:02 +00:00
christos
880fe46bea remove clauses 3/4 2011-01-10 16:42:36 +00:00
pooka
58236b1f89 Don't use printf in a signal handler.
XXX: it would be nice if the deadlock with malloc were a little
more obvious, especially since gdb doesn't provide any clues unless
you compile libpthread with -g
2011-01-10 14:05:03 +00:00
hannken
b89d0815aa Add layer_revoke() that adjusts the lower vnode use count to be at least as
high as the upper vnode count before passing down the VOP_REVOKE().

This way vclean() check for active (vp->v_usecount > 1) vnodes gets it right.

Should fix PR kern/43456.
2011-01-10 11:11:03 +00:00
christos
4e376e0546 make constant fit in 32 bits. 2011-01-10 05:15:00 +00:00