Module Name: src
Committed By: pooka
Date: Sat Feb 19 09:59:12 UTC 2011
Modified Files:
src/tests/lib/librumpclient: t_exec.sh
Log Message:
Run sockstat with -n so that difference in /etc/services don't
affect the test outcome.
To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/tests/lib/librumpclient/t_exec.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/lib/librumpclient/t_exec.sh
diff -u src/tests/lib/librumpclient/t_exec.sh:1.6 src/tests/lib/librumpclient/t_exec.sh:1.7
--- src/tests/lib/librumpclient/t_exec.sh:1.6 Wed Feb 16 19:31:31 2011
+++ src/tests/lib/librumpclient/t_exec.sh Sat Feb 19 09:59:12 2011
@@ -1,4 +1,4 @@
-# $NetBSD: t_exec.sh,v 1.6 2011/02/16 19:31:31 pooka Exp $
+# $NetBSD: t_exec.sh,v 1.7 2011/02/19 09:59:12 pooka Exp $
#
# Copyright (c) 2011 The NetBSD Foundation, Inc.
# All rights reserved.
@@ -40,7 +40,7 @@
atf_check -s exit:0 ${rumpsrv} ${RUMP_SERVER}
atf_check -s exit:0 env $(atf_get_srcdir)/h_exec
- atf_check -s exit:0 -o save:sstat.out rump.sockstat
+ atf_check -s exit:0 -o save:sstat.out rump.sockstat -n
atf_check -s exit:0 -o match:'^root.*h_exec.*tcp.*\*\.1234' \
sed -n 2p sstat.out
atf_check -s exit:0 -o match:'^root.*h_exec.*tcp.*\*\.2345' \
@@ -63,7 +63,7 @@
atf_check -s exit:0 ${rumpsrv} ${RUMP_SERVER}
atf_check -s exit:0 $(atf_get_srcdir)/h_exec $(atf_get_srcdir)/h_exec
- atf_check -s exit:0 -o save:sstat.out rump.sockstat
+ atf_check -s exit:0 -o save:sstat.out rump.sockstat -n
atf_check -s exit:0 -o match:'^root.*h_ution.*tcp.*\*\.1234' \
sed -n 2p sstat.out
atf_check -s exit:0 -o match:'^root.*h_ution.*tcp.*\*\.2345' \
@@ -87,7 +87,7 @@
atf_check -s exit:0 ${rumpsrv} ${RUMP_SERVER}
atf_check -s exit:0 \
$(atf_get_srcdir)/h_exec $(atf_get_srcdir)/h_exec cloexec1
- atf_check -s exit:0 -o save:sstat.out rump.sockstat
+ atf_check -s exit:0 -o save:sstat.out rump.sockstat -n
atf_check -s exit:0 -o inline:'2\n' sed -n '$=' sstat.out
atf_check -s exit:0 -o match:'^root.*h_ution.*tcp.*\*\.2345' \
sed -n 2p sstat.out
@@ -110,7 +110,7 @@
atf_check -s exit:0 ${rumpsrv} ${RUMP_SERVER}
atf_check -s exit:0 \
$(atf_get_srcdir)/h_exec $(atf_get_srcdir)/h_exec vfork_please
- atf_check -s exit:0 -o save:sstat.out rump.sockstat
+ atf_check -s exit:0 -o save:sstat.out rump.sockstat -n
atf_check -s exit:0 -o inline:'5\n' sed -n '$=' sstat.out
atf_check -s exit:0 -o match:'^root.*h_ution.*tcp.*\*\.1234' \
cat sstat.out