Commit Graph

679 Commits

Author SHA1 Message Date
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
christos
37cdb63310 test for sigqueue 2011-01-10 04:57:56 +00:00
pgoyette
fdee497371 Fix typo that got lost between my trial build and the final commit 2011-01-09 05:44:46 +00:00
pgoyette
8d8e0a4616 Ouch - forgot the include this earlier. 2011-01-09 01:00:40 +00:00
pgoyette
17f9a364e6 Atf-ify the regex test 2011-01-08 18:10:31 +00:00
pgoyette
b607edaed3 Atf-ify the rpc/t_xdr test 2011-01-08 06:59:37 +00:00
pgoyette
27009b334d Fix and re-enable the delete_btree test case 2011-01-08 05:33:34 +00:00
pooka
dac028c1ff Apparently the atf in the qemu runs doesn't like p2k_ffs and hangs
completely.  Remove it for until I have a chance to debug what's
going on.
2011-01-07 19:54:48 +00:00
pgoyette
0308b37ff4 Atf-ify the db tests.
XXX Note that the original regress version of this test did not run the
XXX btree_delete test; that test is broken, and is disabled for now.
2011-01-07 15:05:57 +00:00
pooka
409447038e xfail PR kern/44336 2011-01-07 12:18:25 +00:00
pooka
4ba41bccb2 Adjust atf_check_type() to make it work again.
Do we need tests for the tests? ;)
2011-01-07 12:16:17 +00:00