pgoyette
4d0da3bb46
Remove nfsd options as they are no longer needed.
2012-08-13 18:02:32 +00:00
joerg
37f2635c65
Fix obvious code issues and remove the original -Wno-error for clang
...
builds to not hide them in the future:
(1) Don't use a pointer to a local variables if all that is done is
comparing it against NULL. The function itself works fine for that
purpose.
(2) Initialise the fail counter, giving the test a chance to work
reliably.
2012-02-24 13:53:46 +00:00
bouyer
5ba1d99f10
When I split non-quota-specific functions out from ../ffs/quotas_common.sh
...
I forgot to ajust this test.
Fix PR bin/46015
2012-02-13 22:40:43 +00:00
christos
1897181a72
From tnozaki@: make fpos_t a complex object that keeps track of the parse
...
state of the stream. Change argument of the seek function to funopen() from
fpos_t to off_t. Make f{g,s}etpos() use the new fpos_t struct, while providing
backwards compatible entry points. Approved by releng@
2012-01-22 18:36:14 +00:00
plunky
2b8aaed8cd
NULL does not need a cast, here
2011-09-16 16:13:16 +00:00
plunky
87d4f6076b
Apply casts to cases where xdrproc_t is expected but is not
...
strictly passed, for example because the second argument is
a different kind of pointer.
2011-08-30 17:06:20 +00:00
dholland
0d0aaf26a0
Remove nonexistent include directory from CPPFLAGS.
...
PR 45068 from Henning Petersen.
2011-07-19 03:30:46 +00:00
christos
360b33ff11
more fallout from rump_syscallargs.h including <signal.h>
2011-06-26 13:08:08 +00:00
christos
2a18cea9f4
Turn warns on for all tests and fix all the bugs.
2011-06-11 18:03:17 +00:00
joerg
28050549eb
Ignore warnings when building with clang for now.
2011-05-30 14:41:26 +00:00
bouyer
fa4ca53da4
Add a test for rpc.rquotad(8)
2011-03-12 14:03:38 +00:00
pooka
c87fb89aa0
make netcfg produce sensible results in a non-atf env
2011-02-28 21:21:14 +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
joerg
16062ee68b
Don't force debug build.
2010-12-18 04:31:41 +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
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
pooka
a3acbf5ec9
Actually use the imagename parameter. Also, fail with err instead
...
of atf_tc_fail since we are not directly under the control of atf.
2010-09-02 15:13:55 +00:00
pooka
2bb4b66566
remove leftover debug printf
2010-08-05 16:47:59 +00:00
drochner
55e1e4c9f3
.PARSEDIR doesn't work. at least not for me. Use .CURDIR instead
...
which makes a build with objdir succeed.
2010-08-03 17:24:45 +00:00
pooka
5656c31054
* apparently operations can also fail with EIO and EOPNOTSUPP while
...
mountd hup is in progress. strange, since I can't remember seeing
those a few days ago when i ran this quite a lot. anyway, don't
make those errnos fatal failures.
* also in the "apparently" sector, although this test fails 100%
reliably on my development host, it does not always trigger in the
anita run. so apply the current "race condition test" idiom
2010-08-01 15:38:27 +00:00
pooka
9749b7715b
Revert macroization, as the default mountpath doesn't match the
...
default export path.
2010-07-30 21:10:44 +00:00
pooka
272fb16e97
Fold the puffs private and vfs tests mount/unmount routines together.
...
To achieve this, add a file system private parameter to the newfs
method (which will obviously not be used by vfs tests).
njoly ok
2010-07-30 16:15:05 +00:00
pooka
862a7ebf2c
install to right place. from pgoyette
2010-07-28 19:23:01 +00:00
pooka
6d749c2c28
Add test for service interruption while mountd handles SIGHUP.
...
This is an xfail test for the problem described in PR kern/5844
per highly surreptitious nudge from mrg
2010-07-28 15:24:54 +00:00
pooka
ce798b3d87
Defer definitely-nonreentrant signal handler to thread context.
...
This protects from rump kernel reentry and makes things not
crash && burn.
2010-07-28 15:15:22 +00:00
pooka
0d8d8d2b19
Make sure we are not executed in non-debug mode (which forks).
2010-07-28 15:12:17 +00:00
pooka
1411ba67f8
Don't ignore SIGHUP here since mountd uses it. The mountd signal
...
handler is installed later, so technically this is unnecessary,
but try to be complete.
2010-07-28 15:11:30 +00:00
macallan
7a5d0aeabe
initialize a few variables to shut up compiler warnings
2010-07-27 14:04:47 +00:00
pooka
3dd552295f
comment out lp64-offensive line (the syslog() calls are not used currently)
2010-07-26 19:24:35 +00:00
pooka
f64ec08558
Install the exports file too so that the server can find it.
2010-07-26 19:17:37 +00:00
pooka
fd87d4c523
fix TESTSDIR
2010-07-26 16:17:21 +00:00
pooka
25f5a6a3a9
Add NFS service suitable for use in testing.
2010-07-26 15:53:00 +00:00