pooka
f8a62255a4
Put p2k_ffs back there -- i can't repeat any problems in my qemu/anita
...
runs.
2011-03-05 20:56:28 +00:00
pooka
4adfadb23c
chown the workdir to unpriv user instead of chmod 711. Otherwise,
...
if your (root's) login shell is {t,}csh, su -m gets outoutsmarted.
2011-03-05 07:41:11 +00:00
pooka
814186ded7
The re-enabled renamerace test also triggers the recent msdosfs
...
vnode leak. xfail this under the blanket of PR kern/44661.
2011-03-03 11:01:27 +00:00
pooka
61dcfafee6
Apparently my last commit to msdosfs_vnops.c fixed the (harmless?)
...
buffer overrun in rename (>15 years old bug), so re-enable other
msdosfs rename tests too.
2011-03-03 10:57:30 +00:00
pooka
1939d9d97e
msdosfs xfail for PR kern/44661
2011-03-01 20:16:33 +00:00
pooka
bb225c94f3
xfail dir_rmdirdotdot for tmpfs (PR kern/44657)
2011-03-01 15:33:35 +00:00
pooka
da0742f9b8
Reset node's parent pointer when it's removed. Technically the
...
parent still exists, but allows us to avoid complicated g/c algorithms
if the parent *is* removed.
2011-03-01 15:14:35 +00:00
pooka
878d41e6e9
Rmdir the dir you're in and its parent and try to cd ..
...
Fails on tmpfs (crash), puffs (cd .. succeeds) and rumpfs (cd .. succeeds).
another testcase derived from the bugfinding genious of Taylor R Campbell
2011-03-01 15:04:47 +00:00
pooka
8a3bb78f03
Comment out msdosfs skip -- i'm not sure if it will still fail with
...
the "stack size" problem, but at least it fails due to yet another
refcounting snafu in the msdosfs rename method.
2011-03-01 14:27:32 +00:00
pooka
1157445be6
augment rename test case with the failure from PR kern/44288
2011-03-01 14:21:46 +00:00
pooka
c87fb89aa0
make netcfg produce sensible results in a non-atf env
2011-02-28 21:21:14 +00:00
pooka
ab076a3e59
g/c use of unused variable too
2011-02-28 21:08:46 +00:00
pooka
cb7e71e280
g/c unused variable
2011-02-28 21:08:13 +00:00
pooka
d7421024b5
bump nfdsargv[] size belatedly (and add a few extra for needs of future bugs)
2011-02-28 21:03:15 +00:00
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
martin
0d52446307
Remove xfail for sparc64, alignement issues have been fixed
2011-02-25 20:54:18 +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
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
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
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
bouyer
c6bd32e710
Test the right fd after rump_sys_open().
2011-02-12 18:13:46 +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
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
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
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
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
pooka
afb452e673
Simplify test: there's no reason to mount 2x ffs.
2011-01-12 17:16:24 +00:00
kefren
eea5c39883
add test for kern/43321, blessed by pooka@
2011-01-11 14:03:38 +00:00
pooka
4665e3c895
need unrace-catcher for ffslog
2011-01-11 09:32:50 +00:00
hannken
b89d0815aa
Add layer_revoke() that adjusts the lower vnode use count to be at least as
...
high as the upper vnode count before passing down the VOP_REVOKE().
This way vclean() check for active (vp->v_usecount > 1) vnodes gets it right.
Should fix PR kern/43456.
2011-01-10 11:11:03 +00:00
pooka
dac028c1ff
Apparently the atf in the qemu runs doesn't like p2k_ffs and hangs
...
completely. Remove it for until I have a chance to debug what's
going on.
2011-01-07 19:54:48 +00:00
pooka
409447038e
xfail PR kern/44336
2011-01-07 12:18:25 +00:00
pooka
4ba41bccb2
Adjust atf_check_type() to make it work again.
...
Do we need tests for the tests? ;)
2011-01-07 12:16:17 +00:00
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