pooka
6ae16092a5
Add simple test case for access(2), including panicky scenario from
...
PR kern/44648.
2011-02-28 03:40:45 +00:00
njoly
3b61a87b12
Add a small testcase that shrink a file using 2 consecutive ftruncate
...
calls.
2011-02-27 15:16:31 +00:00
pgoyette
bb1ec3c88c
The ssp/raw test is useless. Remove it.
2011-02-26 02:41:33 +00:00
martin
0d52446307
Remove xfail for sparc64, alignement issues have been fixed
2011-02-25 20:54:18 +00:00
pgoyette
08b100965c
Disable the "raw" test case. The test is bogus, and did not work before
...
conversion from src/regress/ to atf
2011-02-25 18:11:53 +00:00
pooka
899e147859
adjust location of xfail in previous for more accuracy
2011-02-24 17:29:48 +00:00
pooka
66864f8999
xfail PR kern/44631 on sparc64
2011-02-24 17:26:46 +00:00
pooka
ca626b1df7
Add tests to check "cc" can compile a working hello world.
...
(this test fails at least on riz's macppc)
2011-02-24 10:24:23 +00:00
pooka
c97bdaa639
in reconnect, ignore any all reconnect messages
2011-02-24 08:40:06 +00:00
pooka
2486194718
some tests for mv(1)
2011-02-23 16:38:08 +00:00
pooka
9f3340d97a
simple vfs tests (mount ffs, cp/pax files there, un/remount,
...
check with diff)
2011-02-23 13:01:57 +00:00
yamt
0aabb9242a
add some tests
2011-02-22 21:23:19 +00:00
pooka
02b6060dda
make the timeouts a bit more generous for really slow systems
2011-02-22 18:41:04 +00:00
pooka
6ac867388f
One more lseek test case: in case of an error, check rv == -1
...
(so that it's not e.g UINT_MAX).
2011-02-22 13:25:18 +00:00
pooka
9107903fbe
test lseek return value (off_t, might be >register_t)
2011-02-22 10:36:13 +00:00
riz
9613b94f2f
mutex2/mutex3 are expected to fail on powerpc because of
...
PR port-powerpc/44387.
XXX the ugly sleep at the end is because ATF will mark an un-triggered
race condition (ie, the test passes unexpectedly) as a test failure otherwise.
2011-02-21 21:43:41 +00:00
pooka
91971b5261
Skip instead of fail test if tmpfs cannot be mounted and the
...
error is "Operation not supported".
makes the tmpfs tests produce a sensible result on platforms where
tmpfs is not available (such as the hpc* test runs)
2011-02-21 10:14:29 +00:00
pooka
f8da5a9891
check that poll on an invalid fd doesn't hang in the dual poll case
2011-02-20 23:45:46 +00:00
jmmv
15a3581f5e
Adjust tests now that the values of atf_arch and atf_machine have been
...
reversed to carry their real intended meanings.
This is part of PR bin/44305.
2011-02-20 20:57:46 +00:00
pooka
d9795c60c4
explicitly set the signal model
2011-02-20 19:45:45 +00:00
jmmv
0553513a0e
The mutex3 test is supposed to use a static initializer so that it differs
...
to the mutex2 test. This detail was lost during the atfification of these
tests.
Spotted by pooka@ and riz@.
2011-02-20 14:37:44 +00:00
pooka
a7b761c335
Add a test that checks that the client receives SIGIO for an O_ASYNC
...
socket.
2011-02-20 13:27:46 +00:00
pooka
91a9bf9486
more test cases:
...
* // prefix
* fchdir
* cd-via-symlink
2011-02-19 19:57:28 +00:00
pooka
44ff4bdcb3
a basic getcwd() test
2011-02-19 13:19:52 +00:00
pooka
828eb9131f
Run sockstat with -n so that difference in /etc/services don't
...
affect the test outcome.
2011-02-19 09:59:12 +00:00
pooka
362dcd5366
set reconnect property now that it's off by default
2011-02-19 09:56:45 +00:00
pooka
7e9c3f5ca7
Add test case for /->: conversion from PR kern/44523 by
...
Taylor R Campbell.
I adjusted the test to uudecode + bunzip2 the supplied image, and
removed the "null-finder" from the dirent code, since it had an
off-by-one which made the test fail.
2011-02-18 13:07:54 +00:00
pooka
5b509bbede
Test the -d type parameter of rump_server(1).
...
XXX: these tests only work with a dynamic userland, dunno how to
specify a "skip" clause for that
2011-02-17 16:08:48 +00:00
pooka
5c6cde8ab3
RUMPHIJACK_RETRY -> RUMPHIJACK_RETRYCONNECT
2011-02-16 19:31:31 +00:00
pooka
1a01113004
test rumpclient_vfork()
2011-02-16 17:57:44 +00:00
pooka
daf96a009b
no need to create a hardlinked name for the helper, just fake argv[]
2011-02-16 16:02:52 +00:00
pooka
9f22773c99
Don't use hijack here since exec is now easy in pure rump clients.
2011-02-16 15:34:18 +00:00
pooka
3f47eb3b3b
remove unnecessary debug printf
2011-02-15 15:57:33 +00:00
pooka
36823968f7
test FD_CLOEXEC
2011-02-15 15:54:56 +00:00
pooka
fd59a0e429
add some exec() tests
2011-02-15 15:16:46 +00:00
pooka
3e3af76e8c
explicitly set BLOCKSIZE so that we don't get fooled again
2011-02-14 19:56:30 +00:00
pooka
c754a0ea3b
-debugging crud
2011-02-14 19:54:29 +00:00
pooka
e7ac403943
Test that hijacked ssh/sshd work.
...
Copypastes jmmv's sshd magic from fs/psshfs.
(dunno if it's worth sharing the code, or even what the
best practice for doing so would be)
2011-02-14 15:14:00 +00:00
uebayasi
fd945b5131
Typo.
2011-02-13 12:47:27 +00:00
bouyer
c6bd32e710
Test the right fd after rump_sys_open().
2011-02-12 18:13:46 +00:00
pooka
e43200f113
Add test case from PR lib/44552 by Alexander Nasonov. I also lobbed
...
in a test for select(0, NULL, NULL, NULL, &tv) in there.
2011-02-12 10:28:08 +00:00
pooka
f9f796a4cf
add test for fix in rev 1.36 of librumphijack/hijack.c
2011-02-11 15:38:14 +00:00
pooka
bec0b44f57
Use sshd's pidfile instead of $! and wait for the pidfile to appear.
...
This plugs a race condition where sshd did not have a chance to
open a sucket before we attempted to connect to it.
2011-02-11 13:19:46 +00:00
pooka
9285c5cc41
update /dev/null rump minor to make test pass again
2011-02-10 20:10:54 +00:00
njoly
96506c0e2a
Do initialise allocated file system args structures for puffs and nfs
...
(fix some puffs tests failures with MALLOC_OPTIONS=J).
While here, detect and report args allocation failure.
ok from pooka.
2011-02-10 16:35:01 +00:00
pooka
58a824fcb1
explicitly zero-fill the initial md backend
2011-02-10 13:29:02 +00:00
kefren
233a38c913
Problem was fixed, don't expect to fail anymore
2011-02-10 07:47:50 +00:00
pooka
dab4b449d7
Add test which checks rumpclient does not use fds 0-2 for its
...
internal purposes.
2011-02-09 14:32:45 +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
6296f7395c
Limit test duration based on wall time instead of loops
...
(took a long time on slow platforms).
2011-02-07 20:05:09 +00:00