Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/tests/net/arp Return 0 explicitly to avoid unexpected failur...



details:   https://anonhg.NetBSD.org/src/rev/fdcc730813a7
branches:  trunk
changeset: 339626:fdcc730813a7
user:      ozaki-r <ozaki-r%NetBSD.org@localhost>
date:      Fri Jul 31 10:16:36 2015 +0000

description:
Return 0 explicitly to avoid unexpected failures when $DEBUG=false

diffstat:

 tests/net/arp/t_arp.sh |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (27 lines):

diff -r f8f3e5a3909a -r fdcc730813a7 tests/net/arp/t_arp.sh
--- a/tests/net/arp/t_arp.sh    Fri Jul 31 07:37:17 2015 +0000
+++ b/tests/net/arp/t_arp.sh    Fri Jul 31 10:16:36 2015 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: t_arp.sh,v 1.5 2015/07/31 02:39:12 ozaki-r Exp $
+#      $NetBSD: t_arp.sh,v 1.6 2015/07/31 10:16:36 ozaki-r Exp $
 #
 # Copyright (c) 2015 The NetBSD Foundation, Inc.
 # All rights reserved.
@@ -221,6 +221,8 @@
        atf_check -s exit:0 sleep $(($arp_keep + $arp_prune + $bonus))
        $DEBUG && rump.arp -n -a
        #atf_check -s exit:0 -o match:'incomplete' rump.arp -n 10.0.1.10
+
+       return 0
 }
 
 make_pkt_str()
@@ -300,6 +302,8 @@
        # Cannot overwrite a temp cache
        atf_check -s not-exit:0 -e ignore rump.arp -s 10.0.1.10 b2:a0:20:00:00:ff
        $DEBUG && rump.arp -n -a
+
+       return 0
 }
 
 cleanup()



Home | Main Index | Thread Index | Old Index