Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/tests/lib/librumpclient Run sockstat with -n so that differe...
details: https://anonhg.NetBSD.org/src/rev/2af97266bd17
branches: trunk
changeset: 762321:2af97266bd17
user: pooka <pooka%NetBSD.org@localhost>
date: Sat Feb 19 09:59:12 2011 +0000
description:
Run sockstat with -n so that difference in /etc/services don't
affect the test outcome.
diffstat:
tests/lib/librumpclient/t_exec.sh | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diffs (45 lines):
diff -r 1a77dbf5c7a8 -r 2af97266bd17 tests/lib/librumpclient/t_exec.sh
--- a/tests/lib/librumpclient/t_exec.sh Sat Feb 19 09:56:45 2011 +0000
+++ b/tests/lib/librumpclient/t_exec.sh Sat Feb 19 09:59:12 2011 +0000
@@ -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
Home |
Main Index |
Thread Index |
Old Index