Module Name: src
Committed By: gson
Date: Thu Mar 13 12:45:14 UTC 2014
Modified Files:
src/tests/fs/nfs: t_rquotad.sh
Log Message:
Add -lrumpnet_netinet6 to the rump_server invocation, to stop
rpc.rquotad from printing the error message "rpc.rquotad:
_svc_tli_create: could not open connection for udp6: Address family
not supported by protocol family". The error message currently ends
up in /dev/null because it is printed to stderr after calling daemon()
with noclose=0, but if the daemonization is moved to a later point to
fix the race condition of PR misc/48282, it will actually appear on
stderr and break the test, which is expecting stderr to be empty.
To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/tests/fs/nfs/t_rquotad.sh
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/tests/fs/nfs/t_rquotad.sh
diff -u src/tests/fs/nfs/t_rquotad.sh:1.3 src/tests/fs/nfs/t_rquotad.sh:1.4
--- src/tests/fs/nfs/t_rquotad.sh:1.3 Mon Aug 13 18:02:32 2012
+++ src/tests/fs/nfs/t_rquotad.sh Thu Mar 13 12:45:14 2014
@@ -1,4 +1,4 @@
-# $NetBSD: t_rquotad.sh,v 1.3 2012/08/13 18:02:32 pgoyette Exp $
+# $NetBSD: t_rquotad.sh,v 1.4 2014/03/13 12:45:14 gson Exp $
#
# Copyright (c) 2011 Manuel Bouyer
# All rights reserved.
@@ -57,9 +57,9 @@ get_nfs_quota()
#start a a nfs server
atf_check -s exit:0 rump_server -lrumpvfs -lrumpdev -lrumpnet \
- -lrumpnet_net -lrumpnet_netinet -lrumpnet_local \
- -lrumpnet_shmif -lrumpdev_disk -lrumpfs_ffs -lrumpfs_nfs \
- -lrumpfs_nfsserver \
+ -lrumpnet_net -lrumpnet_netinet -lrumpnet_netinet6 \
+ -lrumpnet_local -lrumpnet_shmif -lrumpdev_disk -lrumpfs_ffs \
+ -lrumpfs_nfs -lrumpfs_nfsserver \
-d key=/dk,hostpath=${IMG},size=host ${RUMP_SERVER}
atf_check -s exit:0 rump.ifconfig shmif0 create