Module Name: src Committed By: ozaki-r Date: Fri Jul 31 10:16:36 UTC 2015
Modified Files: src/tests/net/arp: t_arp.sh Log Message: Return 0 explicitly to avoid unexpected failures when $DEBUG=false To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 src/tests/net/arp/t_arp.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/arp/t_arp.sh diff -u src/tests/net/arp/t_arp.sh:1.5 src/tests/net/arp/t_arp.sh:1.6 --- src/tests/net/arp/t_arp.sh:1.5 Fri Jul 31 02:39:12 2015 +++ src/tests/net/arp/t_arp.sh Fri Jul 31 10:16:36 2015 @@ -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 @@ command_body() 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 @@ cache_overwriting_body() # 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()