Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/tests/net/route Return 0 for $DEBUG=false case
details: https://anonhg.NetBSD.org/src/rev/a13db76c91e3
branches: trunk
changeset: 344836:a13db76c91e3
user: ozaki-r <ozaki-r%NetBSD.org@localhost>
date: Sat Apr 23 15:47:54 2016 +0000
description:
Return 0 for $DEBUG=false case
diffstat:
tests/net/route/t_flags.sh | 4 +++-
tests/net/route/t_flags6.sh | 4 +++-
2 files changed, 6 insertions(+), 2 deletions(-)
diffs (36 lines):
diff -r d3a920292229 -r a13db76c91e3 tests/net/route/t_flags.sh
--- a/tests/net/route/t_flags.sh Sat Apr 23 14:59:01 2016 +0000
+++ b/tests/net/route/t_flags.sh Sat Apr 23 15:47:54 2016 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: t_flags.sh,v 1.7 2016/04/23 08:54:20 ozaki-r Exp $
+# $NetBSD: t_flags.sh,v 1.8 2016/04/23 15:47:54 ozaki-r Exp $
#
# Copyright (c) 2015 The NetBSD Foundation, Inc.
# All rights reserved.
@@ -257,6 +257,8 @@
atf_check -s not-exit:0 -o ignore -e match:'No route to host' \
rump.ping -n -w 1 -c 1 10.0.0.1
$DEBUG && rump.netstat -rn -f inet
+
+ return 0
}
test_icmp_redirect()
diff -r d3a920292229 -r a13db76c91e3 tests/net/route/t_flags6.sh
--- a/tests/net/route/t_flags6.sh Sat Apr 23 14:59:01 2016 +0000
+++ b/tests/net/route/t_flags6.sh Sat Apr 23 15:47:54 2016 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: t_flags6.sh,v 1.4 2016/04/23 08:54:20 ozaki-r Exp $
+# $NetBSD: t_flags6.sh,v 1.5 2016/04/23 15:47:54 ozaki-r Exp $
#
# Copyright (c) 2016 Internet Initiative Japan Inc.
# All rights reserved.
@@ -239,6 +239,8 @@
atf_check -s not-exit:0 -o ignore -e match:'No route to host' \
rump.ping6 -n -X 1 -c 1 $IP6_PEER
$DEBUG && rump.netstat -rn -f inet6
+
+ return 0
}
test_announce()
Home |
Main Index |
Thread Index |
Old Index