Commit Graph

31 Commits

Author SHA1 Message Date
pooka
bf3992af18 Adjust names of external rump control interfaces to match the
new rump_pub namespace.
2009-10-14 18:22:50 +00:00
pooka
36c33536d3 Set timeout to 20 because for some reason this test hangs in qemu.
(Well, it *still* hangs even after the timeout has passed, but at
least there's multiple problems to debug now)
2009-09-17 13:12:51 +00:00
pooka
f0190dc27d rump_fakeblk -> rump_etfs 2009-08-03 14:25:24 +00:00
pooka
d5ac376c40 Mount test fs onto /mp instead of /. This way it can be unmounted
and we can detect vnode reference leaks.
2009-05-03 12:10:00 +00:00
pooka
45ef580f17 Merge librumpfs_ufs into librumpfs_ffs. This reflects what happened
with the ffs kernel module and follows the trend of retiring ufs.
It also allows to get rid of a special case kludge in runtime module
loading, since ufs was not really a module.  librumpfs_ufs is now
obsoleted and ffs consumers should be linked solely against
librumpfs_ffs.
2009-05-02 01:15:52 +00:00
pooka
296ba25baa * register fakeblk
* fix error message
2009-04-29 15:46:01 +00:00
pooka
067a8b527b Use rump_sys_mount() instead of ukfs_mount(). Just a few more
steps and we can have a switch for if we want to run tests against
a rump kernel or a real kernel.
2009-04-26 15:15:38 +00:00
pooka
95ab63fa91 WARNS=4 2009-04-14 10:20:22 +00:00
pooka
3df59b06ac Add atf_tc_fail_errno(), which appends strerror(errno) to the
message string.  Adding it to h_macros suggested by jmmv
2009-04-14 10:19:38 +00:00
pooka
1b5f62901e Hmm, this case was for MNT_LOG so enable it. No wonder I couldn't
repeat the problem with the patch reverted.  regression test
regression.
2009-04-08 12:29:05 +00:00
pooka
565dd9ed11 descend into ffs 2009-04-08 12:09:04 +00:00
pooka
a56fe8c09f regression test for kern/40948 2009-04-08 12:08:17 +00:00
pooka
f698904d75 * convert to KNF
* pass WARNS
2009-04-08 09:11:34 +00:00
pooka
d08d606875 atf_tc_fail() instead of err() 2009-04-08 09:05:16 +00:00
pooka
f7bf33df40 make test duration bound by time instead of by number of rounds 2009-04-08 08:57:24 +00:00
pooka
163d880b1a add regression test for kern/41128 2009-04-07 20:51:46 +00:00
jmmv
454557d79e Adjust tests to work with the new API in ATF 0.6. 2009-01-19 07:15:46 +00:00
martin
11a6dbe728 Convert TNF licenses to new 2 clause variant 2008-04-30 13:10:46 +00:00
martin
ce099b4099 Remove clause 3 and 4 from TNF licenses 2008-04-28 20:22:51 +00:00
jmmv
d5094734ca Add tests for rillig@'s recent fix to mount_tmpfs: ensure that error messages
do not mention the source path, which is unused.
2008-02-13 14:58:42 +00:00
jmmv
5166760e85 Re-add the NetBSD CVS Id tag to the header. It just had to be quoted to
be accepted by the parser; i.e. no bug in the code :-)

Note to self: do not try to "fix" stuff the last minute before going to
sleep.
2007-12-30 09:13:32 +00:00
jmmv
ef8f5fcf1e Copy the host key into the work directory and tell the server to use this
instead of the source file, because we need to set strict permissions on it.
Otherwise sshd refuses to start.

Note that we cannot set the permissions of the installed ssh_config_key file
to 400 because unprivileged users could then be unable to run the tests.
2007-12-29 23:07:17 +00:00
jmmv
9644efc887 Use proper specification for a glob pattern. 2007-12-29 23:03:10 +00:00
jmmv
24b05c38e9 Back out the change to introduce the X-NetBSD-Id header entry. For some
reason the parser does not accept its contents...  You know, one should
always test even trivial changes!

Will review this in more depth tomorrow to find the real root cause of the
problem and rule out a fix for ATF.
2007-12-29 23:02:51 +00:00
jmmv
92f6ea962c Properly capture the output of the SSH server. Its -e flag is supposed to
be used alongside -D, but as this was not documented I thought it was a bug
and "fixed" -e's behavior locally (so I got the correct output before, but
nobody else).

Also, fix a race condition that could cause the SSH server to not be killed
if the pid file was not written before the kill, which might happen on very
fast machines.  There still may be a problem when trying to do the connection
if the server has not yet finished initialization...
2007-12-28 08:57:42 +00:00
jmmv
c14077091f Install the data files. 2007-12-26 22:33:54 +00:00
jmmv
4178bab5b6 Add the NetBSD Id tag to the Atffiles. Issue raised by pooka@ a while ago. 2007-12-26 21:04:47 +00:00
jmmv
c3572c6033 Enable the puffs tests. 2007-12-26 20:50:31 +00:00
jmmv
255c0c3501 Beleatedly add some regression tests for a couple of problems I found in
psshfs and that pooka@ already fixed a while ago.  These were rather tricky
to get working.
2007-12-26 20:50:06 +00:00
jmmv
80c834ed18 Explicitly define TESTSDIR, because the automatic deduction of its value
breaks the build if some component of NETBSDSRCDIR is a symlink.  Reported
by drochner@.
2007-11-21 15:39:33 +00:00
jmmv
9b7401e7cb Convert the regress/sys/fs/tmpfs tests to the atf
This change converts all the existing regression tests in
regress/sys/fs/tmpfs to the new framework provided by atf.  As a side
effect, this also moves all the tests programs in regress/sys/fs/tmpfs to
tests/fs/tmpfs.
2007-11-12 15:18:07 +00:00