riz
b8ec406166
Remove a test (that a created directory had a predictable inode number)
...
that no longer makes sense since the vmlocking2 branch was merged.
2010-06-07 03:43:50 +00:00
riz
94a47d543f
Use atf_check to su in a couple cases, to make the test failure
...
easier to understand when the unprivileged user has /sbin/nologin
for a shell.
2010-06-07 03:39:41 +00:00
dholland
319ed136d2
Document the changes in the previous version of this file. If we're
...
going to whitewash the test failures, we should at least keep track of
what the "real" correct behavior/output is. Especially since a large
portion of the tests in here were added specifically to illuminate
points at issue in prior discussions.
2010-06-06 04:51:13 +00:00
dholland
b324463ca0
Add a very basic test and some tests for the problem in PR 43358.
...
XXX: the sort tests in src/regress should be folded into this
2010-06-05 22:38:39 +00:00
jmmv
6b84fb92ac
atf-0.9 introduces an use.fs test-case property to allow tests to write to
...
their work directory. The purpose is to be able to know which tests intend
to touch the file system and to allow a minor optimization in atf-run.
Define use.fs=true for all those tests requiring it. (This highlights that
some tests currently require modifying the file system but conceptually
they shouldn't be... which leaves room for further improvements/cleanups
later :-)
2010-06-04 08:39:40 +00:00
christos
f501e758b3
Pass all the set -e tests.
2010-06-03 16:06:19 +00:00
pooka
999c22b60a
need bsd.own.mk to avoid the "NETBSDSRCDIR is nothing" syndrome
2010-05-31 23:53:02 +00:00
pooka
0854573c60
hmm, using unifdef for the previous might have been a good idea ...
2010-05-31 23:51:28 +00:00
pooka
104b695ac0
Now that atf gdb/coredump conflicts have been solved (thanks jmmv!),
...
remove USE_ATF ifdefs.
2010-05-31 23:44:54 +00:00
pooka
9b9ff1afec
add tests for:
...
* threading
* tsleep variants
* uvm page busying and wanting
2010-05-31 23:36:12 +00:00
pooka
9a7330494a
Add some kernel namespace (i.e. _KERNEL) helpers for regression tests.
2010-05-31 23:32:50 +00:00
dholland
3f2b5f0ddd
Requires <sys/param.h>.
2010-05-30 06:09:17 +00:00
dholland
8f40ab4ef3
Use PATH_MAX instead of MAXPATHLEN and include limits.h.
2010-05-30 05:35:48 +00:00
pooka
d377aeaac4
test extattrctl kernel panic (kern/43328)
2010-05-21 16:47:45 +00:00
jruoho
339c78d7ee
Add a simple test for timer_create(2) / sigevent(3).
...
Case for SIGEV_THREAD commented out.
2010-05-19 19:17:08 +00:00
jmmv
0c7618681c
Fix execution of the installed tests by using h_{simple,args} as program
...
names, without the .sh extension.
2010-05-04 09:33:57 +00:00
pooka
90512ff195
convert to ifdef USE_ATF
2010-05-01 12:11:53 +00:00
pooka
cdf297bb01
Disable module autoload so that it won't foil our module unload test.
2010-05-01 11:20:21 +00:00
pooka
0714e24da4
fix !USE_ATF
2010-05-01 10:46:29 +00:00
pooka
ebcc5a9913
fix !USE_ATF case
2010-05-01 10:43:31 +00:00
pooka
c4e2577190
Undo infamous "mad \"scientist\"" experiment. There is no need
...
for complicated application frobbing to get a kernel module loaded
into rump -- it will be loaded from the host automatically now.
2010-04-26 23:47:25 +00:00
pooka
2f75110c81
Add bpf program source in a comment.
2010-04-21 11:19:44 +00:00
pooka
513ca2875b
Check that bpf doesn't accept programs with divide-by-zero in them.
...
Example filter from Guy Harris via PR kern/43185.
2010-04-21 11:07:34 +00:00
pooka
27b6b96670
Add the typical #ifdef USE_ATF stuff so I can debug the test if it
...
goes wrong.
2010-04-16 14:05:32 +00:00
pooka
994e33429b
Build & install msdosfs snapshot test and deal with the happy happy
...
joy joy setlistdist etcetc. stuff.
2010-04-13 10:27:52 +00:00
pooka
33304497d7
Add msdosfs snapshot test. This one just slightly different from
...
the ffs test because msdosfs doesn't support VFS_SNAPSHOT, only
VFS_SUSPEND, i.e. we need external storage for the snapshot instead
of internal storage.
2010-04-13 10:21:47 +00:00
pooka
0d66aa2889
Split snapshot test into fs-independent backend and fs-specific frontend.
...
I really wish all our fs tests were like this (in principle, that
is. I'm not talking about this hacky implementation). I've been
wishing this for quite a few years now. Seems like my wishes don't
come true.
2010-04-13 10:19:25 +00:00
pooka
a9ac6f044d
move check next to operation
2010-04-12 23:15:24 +00:00
pooka
5af2edd9e6
test for the very basic snapshot features
2010-04-12 22:58:53 +00:00
pooka
344e2f2f16
Following nullfs, rename rumpfs_umapfs to rumpfs_umap to make the
...
basename the same as the kernel module (this too was in-tree only
for a little over a week with the old name).
2010-04-11 05:45:57 +00:00
pooka
b764352d60
Rename librumpfs_nullfs to librumpfs_null to make the basename the
...
same as with the kernel module (and hence MOUNT_NULL).
I added the old name to the obsolete list, but given that it was
in-tree for only a bit over a week, I'll remove the entries in a
few weeks.
2010-04-10 21:32:59 +00:00
pooka
986be8ce69
Add some basic tests for kernfs (getdents & changing hostname).
...
Per a "mad \"scientist\"" experiment, on i386 load kernfs support
from the installed kernel module instead of linking the driver in.
2010-03-31 19:14:30 +00:00
njoly
055c56a77b
Use tp-glob keys when requesting for test pattern.
2010-03-31 18:40:26 +00:00
njoly
d7b0a6276c
The Atffile tp/tp-glob keys does not allow more than one word. Put new
...
union value on its own line.
2010-03-31 18:37:06 +00:00
pooka
08910e9e3d
anti-pasto
2010-03-30 01:40:29 +00:00
pooka
afe21a63b7
Add basic test for umapfs functionality.
...
XXX: the reverse mapping case (last subsubtest in t_basic) does
not make any sense, but apparently that how umapfs works. I'm not
familiar enough with the code to determine if this is a wanted
feature or a pure and simple bug.
2010-03-30 01:05:28 +00:00
pooka
d32fe93431
Basic test for nullfs, which just checks that the two views act
...
somewhat sensibly.
2010-03-30 01:02:47 +00:00
pooka
9e4e4976ad
Add basic union test.
2010-03-29 18:19:19 +00:00
pooka
b501712ab5
regression test for fifos on ffs
...
XXX: same test apart for mount/unmount could be used on other
fifo-supporting file systems (r/w support required, though).
2010-03-29 13:26:32 +00:00
jmmv
2c2857e920
Add some basic tests for rc.d scripts to validate the execution of
...
subcommands and the optional argument passing to them from the command
line.
Triggered by the modification of the run_rc_command function in rc.subr
to allow passing in extra parameters to the commands defined in rc.d
scripts.
2010-03-15 19:03:08 +00:00
pooka
05e0f1dba9
Update to use newstyle rump_module interfaces.
2010-03-05 18:49:30 +00:00
martin
5d2d1246bd
remove "string" directory for now, it isn't installed
2010-02-28 11:06:59 +00:00
martin
163086bd7a
Disable population count test for now, please re-enable once
...
PR toolchain/42885 is fixed
2010-02-26 09:35:08 +00:00
mlelstv
10019347da
filesystems now use getdisksize() which is in librumpdev_disk.
2010-01-31 14:30:22 +00:00
pooka
da8d545fb8
msdosfs depends on disk devices now
2010-01-25 19:27:24 +00:00
joerg
1ca41e3237
Add a regression test for the SHA2 family that also checks for unaligned
...
accesses.
2010-01-24 21:12:17 +00:00
pooka
b3a218f0ac
Must use CMSG_SPACE instead of CMSG_LEN for control message buffer.
...
Fixes test on sparc64 (and possible other alignment-picky ports).
from mlelstv
2009-12-18 21:24:13 +00:00
mrg
fa38305b2e
avoid most of the SUBDIRs if MKATF == "no".
2009-12-15 03:01:48 +00:00
uebayasi
75fe826dc9
CPPFLAGS.* is per *.c, not per ${PROG} or ${LIB}.
2009-12-08 15:20:20 +00:00
he
dcac85a1b9
It seems that LDADD.file gets added to the linker invocation after
...
the LDADD variable expansion. To support static linking, ensure
that the common libraries gets tacked on at the end as well (order
matters for static linking), by using a convenience variable and
add it to the end of LDADD.t_modlinkset, as well as when doing the
general LDADD+= setting.
2009-11-28 22:20:38 +00:00