Module Name: src Committed By: ozaki-r Date: Wed May 27 01:12:04 UTC 2015
Modified Files: src/tests/net/net: t_forwarding.sh Log Message: Add timeout to ping6 positive tests too For when they fail. To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/tests/net/net/t_forwarding.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/net/net/t_forwarding.sh diff -u src/tests/net/net/t_forwarding.sh:1.2 src/tests/net/net/t_forwarding.sh:1.3 --- src/tests/net/net/t_forwarding.sh:1.2 Sat May 16 14:29:37 2015 +++ src/tests/net/net/t_forwarding.sh Wed May 27 01:12:04 2015 @@ -1,4 +1,4 @@ -# $NetBSD: t_forwarding.sh,v 1.2 2015/05/16 14:29:37 ozaki-r Exp $ +# $NetBSD: t_forwarding.sh,v 1.3 2015/05/27 01:12:04 ozaki-r Exp $ # # Copyright (c) 2015 The NetBSD Foundation, Inc. # All rights reserved. @@ -94,7 +94,7 @@ test_endpoint() atf_check -s exit:0 -o match:shmif0 rump.ifconfig if [ $mode = "ipv6" ]; then export LD_PRELOAD=/usr/lib/librumphijack.so - atf_check -s exit:0 -o ignore ping6 -n -c 1 ${addr} + atf_check -s exit:0 -o ignore ping6 -n -c 1 -X 1 ${addr} unset LD_PRELOAD else atf_check -s exit:0 -o ignore rump.ping -n -w 1 -c 1 ${addr} @@ -178,8 +178,8 @@ test_setup6() atf_check -s exit:0 -o match:shmif1 rump.ifconfig export LD_PRELOAD=/usr/lib/librumphijack.so - atf_check -s exit:0 -o ignore ping6 -n -c 1 ${IP6SRCGW} - atf_check -s exit:0 -o ignore ping6 -n -c 1 ${IP6DSTGW} + atf_check -s exit:0 -o ignore ping6 -n -c 1 -X 1 ${IP6SRCGW} + atf_check -s exit:0 -o ignore ping6 -n -c 1 -X 1 ${IP6DSTGW} unset LD_PRELOAD }