Commit Graph

629 Commits

Author SHA1 Message Date
pooka
6bafd757e5 use X-fs.mntname for f_fstypename. ignore p2k_ffs there. 2011-01-07 12:01:11 +00:00
pooka
71074032ea Set an extra xvar indicating MOUNT_FOO 2011-01-07 12:00:34 +00:00
pooka
604e46b650 antipasto 2011-01-07 11:58:21 +00:00
pooka
20bc861ad1 ffs -o log dies in renamerace_dirs just like the rest. 2011-01-07 11:53:23 +00:00
pooka
c63717e4a5 add another fstype for ffs -o log 2011-01-07 11:52:59 +00:00
pooka
1c9b2b7d1e Don't panic if "unnecessary" dir already exists.
(helpful when running the test without atf-run)
2011-01-07 11:50:37 +00:00
pooka
4de0f96672 P2K_FFS uses puffs and therefore does not GOP_ALLOC either 2011-01-07 11:41:54 +00:00
pooka
dbc0117ffb adjust another place where X-fs.type is set 2011-01-07 11:41:40 +00:00
pooka
6869f180f8 expect correct errno in nfsro case. from yamt 2011-01-07 11:39:27 +00:00
pooka
6939ec24b6 Use our internal name instead of MOUNT_FOO to identify file system
since otherwise we now run into dupes (e.g. nfs and nfsro, puffs
and p2k_ffs).
2011-01-07 11:36:27 +00:00
pooka
764f692eba Add a puffs-p2k-ffs file system type to automated tests. Inspired
by the file handle problem in p2k.
2011-01-07 10:45:45 +00:00
pgoyette
62566a5bdc Atf-ify a couple more tests 2011-01-07 02:47:40 +00:00
pgoyette
6b3ee667f6 Avoid double-inclusion of bsd.subdir.mk file. This eliminates some harmlessnbut annoying warning messages. 2011-01-07 01:07:31 +00:00
pgoyette
8659b0cd02 Atf-ify test for mktime(3) 2011-01-06 17:20:48 +00:00
njoly
96b2d8096a Start unprivileged filesystem tests. For now, only chown/chmod owner
checks.
2011-01-06 15:19:09 +00:00
pooka
964d204966 In case of LOCKDEBUG, expect certain text in the kernel output. 2011-01-06 13:42:45 +00:00
pooka
051cd8569e Add some tests for lock errors. Notably, some of them fare nicely
with just the pthread consistency checks (which are enabled by
default in rumpuser), but others require real LOCKDEBUG.
2011-01-06 13:12:52 +00:00
pooka
edeb44ccb3 Add a test for ls, which is just a lazy scheme to have some testing
for puffs_cc(3).
2011-01-06 07:28:32 +00:00
pooka
b2d5a8ae6c test rumpclient syscalls from a signal handler 2011-01-06 07:00:28 +00:00
pooka
d69edd9332 check that child exits with an expected status 2011-01-06 06:59:25 +00:00
pgoyette
1eecbebf26 Atf-ify the nsdispath test. 2011-01-05 21:17:04 +00:00
riz
468e2d30f8 Replace uses of 'jot' with 'seq'. This is primarily to work around
a qemu-running-on-netbsd problem with FP which causes 'jot' to output
incorrect sequences, which were causing failures on one of the auto-testing
platforms.  While 'seq' also uses FP, it does not seem to be affected in
this particular usage

As a bonus, however, 'seq' is actually a better fit (the commandline is
more intuitive) for the way it is used in these tests.
2011-01-05 18:13:54 +00:00
riz
64fbc2ff54 Restore data integrity verification in the grow case which was
inadvertantly removed when refactoring occurred in a prior
revision.
2011-01-05 18:05:32 +00:00
pooka
8759cb8fa5 Some tests for rumpclient fork. 2011-01-05 17:19:09 +00:00
martin
7e35902cb8 Use raw buffer size (not aligned value) to limit packet size 2011-01-05 14:43:40 +00:00
martin
db69e273a2 Fix alignment of sndbuf (sparc64 got a SIGBUS in this test) 2011-01-05 14:08:12 +00:00
riz
a44c3b6512 All of the generated tests require root, for rump_ffs. Spotted by
njoly@.
2011-01-05 03:04:13 +00:00
riz
89e455be4b Update resize_ffs tests for byteswapped file system support, and
for UFS2 growth support.  Also, reduce the number of tests run by default
while still maintaining decent coverage of features and block sizes.
Anyone working on resize_Ffs should run the tests with RESIZE_FFS_ALL_TESTS
set in the environment, which adds a lot more testing.
2011-01-05 02:25:27 +00:00
pgoyette
8d8a62aedb Update the ieeefp tests so that they can be built on all architectures.
This enables us to avoid the set-list mess.

Build tested on amd64, i386, sun2, and vax!
2011-01-04 22:30:40 +00:00
pooka
dfdd51ae19 win wunused 2011-01-04 18:46:21 +00:00
pooka
620f20e9e9 Remove arch check now that rump smp is available on all host archs. 2011-01-04 16:25:20 +00:00
pgoyette
ba8539611a Now that PR/44311 is fixed we can remove the expected-failure from this
test.
2011-01-04 12:44:48 +00:00
pooka
45bfa2defe Check that file attributes can be changed (where applicable). 2011-01-04 11:17:22 +00:00
pgoyette
e81a7ec5fd Don't run FP Exception tests under qemu - they don't work.
While here, properly skip certain tests on vax architecture.  (It is
not legal to have a test-program with zero test cases, so each test
case needs to check-and-skip.)
2011-01-03 20:51:26 +00:00
pgoyette
39d0f69cf4 Ooopppsss - locale/ tests are not yet ready - don't SUBIDR yet 2011-01-03 19:25:48 +00:00
pgoyette
758e17089c Atf-ify the atexit test 2011-01-03 19:01:47 +00:00
pooka
a5f859dbc3 use rawpart 2011-01-03 09:39:46 +00:00
pooka
f0b543beba make this work when rawpart != d 2011-01-03 09:37:42 +00:00
pooka
3f6d82acd0 Give this a chance of working on non-4kB pagesize.
from martin's sparc64 test run
2011-01-03 09:35:33 +00:00
dholland
41d09f7800 remove another extraneous static 2011-01-03 09:14:21 +00:00
dholland
9b8984c0e1 fix this properly. 2011-01-03 09:10:54 +00:00
christos
00a6054507 PR/44310: Alexander Nasonov: write to /dev/bpf truncates size_t to int 2011-01-03 02:53:15 +00:00
pgoyette
6c188c10e6 Atf-ify servent and protoent tests, and the remaining hash test. 2011-01-02 22:03:25 +00:00
pgoyette
ddf58095f4 If we survive the check for wrong signal code, reset our expectation to
"pass" before checking the signal errno.
2011-01-02 21:39:24 +00:00
pgoyette
895e2a77b2 Fix $NetBSD$ keyword 2011-01-02 21:34:00 +00:00
christos
a8ca318180 avoid cloberring warning. 2011-01-02 21:17:19 +00:00
pgoyette
16618584e1 One more reference to HAVE_SIGINFO bites the dust 2011-01-02 18:28:36 +00:00
martin
7810b05eab Stopgap buildfix: gcc complains about test_ops possibly being clobbered
by sigjmp and I can't find a proper way to add -Wno-uninitialized in the
proper place in CFLAGS.
2011-01-02 13:49:15 +00:00
pooka
f2fcee3be9 do the alphabet 2011-01-02 13:18:37 +00:00
pooka
5c3365ce93 + rump_lwproc_newproc -> rump_lwproc_rfork()
+ add a tess for rump_lwproc_rfork()
2011-01-02 12:58:17 +00:00