Module Name:    src
Committed By:   ozaki-r
Date:           Thu Jul 23 11:05:34 UTC 2015

Modified Files:
        src/tests/net/if_bridge: t_bridge.sh

Log Message:
Reflect a fix for bridge

Due to PR 48104, some tests of ping/ping6 were failed but the tests now
should be successful. So reverse atf_check.

Bonus: the fix for PR 48104 also fixes another uknown failure.


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/tests/net/if_bridge/t_bridge.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/if_bridge/t_bridge.sh
diff -u src/tests/net/if_bridge/t_bridge.sh:1.9 src/tests/net/if_bridge/t_bridge.sh:1.10
--- src/tests/net/if_bridge/t_bridge.sh:1.9	Wed Jun 10 03:29:37 2015
+++ src/tests/net/if_bridge/t_bridge.sh	Thu Jul 23 11:05:34 2015
@@ -1,4 +1,4 @@
-#	$NetBSD: t_bridge.sh,v 1.9 2015/06/10 03:29:37 ozaki-r Exp $
+#	$NetBSD: t_bridge.sh,v 1.10 2015/07/23 11:05:34 ozaki-r Exp $
 #
 # Copyright (c) 2014 The NetBSD Foundation, Inc.
 # All rights reserved.
@@ -319,14 +319,14 @@ test_ping_member()
 	rump.ifconfig -v shmif0
 	atf_check -s exit:0 -o ignore rump.ping -q -n -w $TIMEOUT -c 1 $IPBR1
 	rump.ifconfig -v shmif0
-	# It's known to fail. See PR#48104
-	atf_check -s not-exit:0 -o ignore rump.ping -q -n -w $TIMEOUT -c 1 $IPBR2
+	# Test for PR#48104
+	atf_check -s exit:0 -o ignore rump.ping -q -n -w $TIMEOUT -c 1 $IPBR2
 	rump.ifconfig -v shmif0
 
 	export RUMP_SERVER=$SOCK3
 	rump.ifconfig -v shmif0
-	# It's known to fail. See PR#48104
-	atf_check -s not-exit:0 -o ignore rump.ping -q -n -w $TIMEOUT -c 1 $IPBR1
+	# Test for PR#48104
+	atf_check -s exit:0 -o ignore rump.ping -q -n -w $TIMEOUT -c 1 $IPBR1
 	rump.ifconfig -v shmif0
 	atf_check -s exit:0 -o ignore rump.ping -q -n -w $TIMEOUT -c 1 $IPBR2
 	rump.ifconfig -v shmif0
@@ -340,16 +340,15 @@ test_ping6_member()
 	rump.ifconfig -v shmif0
 	atf_check -s exit:0 -o ignore ping6 -q -n -X $TIMEOUT -c 1 $IP6BR1
 	rump.ifconfig -v shmif0
-	# It's known to fail. See PR#48104
-	atf_check -s not-exit:0 -o ignore ping6 -q -n -X $TIMEOUT -c 1 $IP6BR2
+	# Test for PR#48104
+	atf_check -s exit:0 -o ignore ping6 -q -n -X $TIMEOUT -c 1 $IP6BR2
 	rump.ifconfig -v shmif0
 
 	export RUMP_SERVER=$SOCK3
 	rump.ifconfig -v shmif0
-	# It's known to fail. See PR#48104
-	atf_check -s not-exit:0 -o ignore ping6 -q -n -X $TIMEOUT -c 1 $IP6BR1
+	# Test for PR#48104
+	atf_check -s exit:0 -o ignore ping6 -q -n -X $TIMEOUT -c 1 $IP6BR1
 	rump.ifconfig -v shmif0
-	# FIXME: it doesn't work for some reason
 	atf_check -s exit:0 -o ignore ping6 -q -n -X $TIMEOUT -c 1 $IP6BR2
 	rump.ifconfig -v shmif0
 

Reply via email to