Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/tests/net/if_bridge Reflect a fix for bridge
details: https://anonhg.NetBSD.org/src/rev/a04cb167642c
branches: trunk
changeset: 339458:a04cb167642c
user: ozaki-r <ozaki-r%NetBSD.org@localhost>
date: Thu Jul 23 11:05:34 2015 +0000
description:
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.
diffstat:
tests/net/if_bridge/t_bridge.sh | 19 +++++++++----------
1 files changed, 9 insertions(+), 10 deletions(-)
diffs (49 lines):
diff -r 5d347abfb0dd -r a04cb167642c tests/net/if_bridge/t_bridge.sh
--- a/tests/net/if_bridge/t_bridge.sh Thu Jul 23 10:52:34 2015 +0000
+++ b/tests/net/if_bridge/t_bridge.sh Thu Jul 23 11:05:34 2015 +0000
@@ -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 @@
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 @@
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
Home |
Main Index |
Thread Index |
Old Index