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
njoly
96b2d8096a
Start unprivileged filesystem tests. For now, only chown/chmod owner
...
checks.
2011-01-06 15:19:09 +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
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
pooka
45bfa2defe
Check that file attributes can be changed (where applicable).
2011-01-04 11:17:22 +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
pooka
5c3365ce93
+ rump_lwproc_newproc -> rump_lwproc_rfork()
...
+ add a tess for rump_lwproc_rfork()
2011-01-02 12:58:17 +00:00
pooka
7dce29201f
Guess-fix a signed vs. unsigned compiler warning report by pgoyette
...
(it doesn't trigger in my src working copy for whatever reason).
2011-01-01 20:43:01 +00:00
pooka
4a54a2b61f
fill in number of PR kern/44307
2011-01-01 20:30:56 +00:00
pooka
69eba09f50
Check that extending a file grows its size (with and without O_APPEND).
2011-01-01 20:26:22 +00:00
pooka
04cb16e7f3
fill in PR kern/44302
2010-12-31 18:26:25 +00:00
pooka
6574800027
Add some elementary tests for r/o file systems. More in 2011!
2010-12-31 18:20:32 +00:00
pooka
1b60b72463
Introduce r/o tests. They do two mounts: the first one is r/w and
...
runs a generator which primes the fs. The second one is r/o and
does the actual testing. Also, introduce a nfsro fstype which does
a clientside r/w mount for a r/o server export.
requested by yamt
(one nfsro test currently fails with EROFS vs. EACCES. Hopefully
someone else can debate the correct errno)
2010-12-31 18:16:41 +00:00
pooka
02c3d76e8b
Sprinkle some KNF. No functional change.
2010-12-31 18:12:51 +00:00
pooka
9dec851430
Configure two network addresses for the nfs server. One exports
...
/myexport r/w to the client in the same subnet and the other one
exports /myexport r/o to the client in the same subnet.
2010-12-31 18:11:27 +00:00
pooka
6198422889
Don't broadcast unmntall with SIGTERM -- it just makes the atf default
...
cleanup kill hang for a while.
2010-12-31 17:59:24 +00:00
yamt
9b72a3c9c6
don't assume atomic read/write on socketpair. puffs_kargs at least is
...
too large to assume atomic read/write. this makes some tests including
fs/puffs/t_basic pass on my environment.
2010-12-29 22:56:59 +00:00
christos
4b1b5b119c
remove NOGCCERROR, WARNS?=5
2010-12-18 15:02:06 +00:00
joerg
16062ee68b
Don't force debug build.
2010-12-18 04:31:41 +00:00
joerg
fac9a6645d
Don't force debug build. XXX Why does this have NOGCCERROR=1 set?
2010-12-18 04:31:22 +00:00
pooka
ec85f68cbf
Convert skipped tests into proper xfails (a lazy bum is me).
...
prompted by pgoyette
2010-11-19 17:46:02 +00:00
pooka
b98ccd4da5
test snapshots on ffsv2 too
2010-11-19 12:36:49 +00:00
pooka
a77ca5ecfc
double the timeout for slow hosts (from 1 to 2 seconds)
2010-11-15 21:29:39 +00:00
pooka
7bdde1ba6d
Add test case for PR kern/44093 (fixed already, but tested to fail
...
without fix applied).
2010-11-15 20:39:00 +00:00
pooka
8c5fe271ac
Remove accidentally committed part (which I need to run these tests
...
for a -current rump kernel on NetBSD 5.1)
2010-11-12 17:35:34 +00:00
pooka
284f30f020
Add test case for problem described by yamt in PR kern/44086.
...
"large writes with PUFFS_KFLAG_NOCACHE_PAGE ends up with EIO"
2010-11-12 17:33:28 +00:00
pooka
88b6bdf19d
skip tests which use features which rumpfs does not support
...
(namely: vop_rename and a file system size limit)
2010-11-11 17:44:44 +00:00
pooka
e60986a223
Add rumpfs to list of file systems to be autotested.
2010-11-11 17:39:29 +00:00
pooka
1a160862e8
use atf interfaces for error reportage
2010-11-11 16:03:55 +00:00
jmmv
97a78f11fc
Remove ugly workaround to skip this if unprivileged-user=_atf and just use
...
'su -m' as pooka@ did in t_mkdir.sh. As he says this may still fail if
root's shell is csh; we need a better solution.
2010-11-09 13:01:33 +00:00
pooka
617f136424
Use su -m since _atf has nologin as its shell.
...
XXX: this will still fail if root's shell is csh
2010-11-08 15:25:50 +00:00
jmmv
decf2b5e0f
Adjusts tests after import of atf-0.12:
...
- The use.fs property is gone.
- Mark the tests/fs/t_create:attrs test as broken when using the default
unprivileged-user:_atf setting. This probably deserves a fix somehow
but I'm not sure at this point.
2010-11-07 17:51:16 +00:00
pooka
948c1978f6
test fss with underlying fs mounted with MNT_LOG
2010-11-05 11:32:09 +00:00
pooka
36445fc1a8
remove newline from error
2010-11-05 11:31:15 +00:00
christos
0f10aa9dce
add Makefile.inc everywhere so that we can set WARNS=4 by default. Amazing
...
how many bugs this found :-)
2010-11-03 16:10:19 +00:00
pooka
dd96c7dab8
Make the shovel threads resilient to file server exit.
2010-11-01 16:27:07 +00:00
pooka
110455ef9e
Create the process we use later in the test. Otherwise cwd doesn't
...
go right and the test fails because of attempting to create files
in the wrong directory.
2010-11-01 14:04:02 +00:00
pgoyette
4b71a48296
Fix format strings so it builds on amd64
2010-10-31 22:33:16 +00:00
pooka
bc79809067
Since rump implicit threads now bind to proc1 instead of proc0, we
...
need our shovel threads bound to proc1 instead of proc0 in order
to have access to the same set of descriptors as the implicit thread
which opens the fd in the rump kernel.
Also, sprinkle some printfs and make failure more dramatic.
fixes the puffs tests. pointed out by pgoyette.
2010-10-31 22:05:35 +00:00
he
0549224c7a
Reorder the library specifications, so that we don't depend on the
...
library dependencies recorded in shared libraries, allowing these
to be linked statically as well.
2010-09-23 09:39:14 +00:00
he
16b74f200d
Do symbol renaming for these bits as well, so that we don't get
...
link-time errors caused by conflicts with normal user-space libraries
when we link statically.
The tests still pass for i386 after this set of changes, and this now
builds for sun2 (after a few more changes).
2010-09-23 09:38:14 +00:00
njoly
7601b30df9
s/dirs/symlinks/ in USES_SYMLINKS message.
2010-09-09 11:42:52 +00:00
pooka
192b53ec54
fill in PR number: kern/43843
2010-09-06 15:27:18 +00:00
pooka
b28267edb9
symlink to a zero-len target (and watch tmpfs go kabloom)
2010-09-06 15:21:34 +00:00