Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/tests/fs/nfs Add -lrumpnet_netinet6 to the rump_server invoc...



details:   https://anonhg.NetBSD.org/src/rev/40e00caa6a4d
branches:  trunk
changeset: 327662:40e00caa6a4d
user:      gson <gson%NetBSD.org@localhost>
date:      Thu Mar 13 12:45:14 2014 +0000

description:
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.

diffstat:

 tests/fs/nfs/t_rquotad.sh |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (22 lines):

diff -r d1d3ac9cff88 -r 40e00caa6a4d tests/fs/nfs/t_rquotad.sh
--- a/tests/fs/nfs/t_rquotad.sh Thu Mar 13 11:21:54 2014 +0000
+++ b/tests/fs/nfs/t_rquotad.sh Thu Mar 13 12:45:14 2014 +0000
@@ -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 @@
 #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



Home | Main Index | Thread Index | Old Index