Commit Graph

708 Commits

Author SHA1 Message Date
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
matt e538011342 This is no longer broken for macppc. 2011-02-07 09:40:52 +00:00
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