Source-Changes-HG archive

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

[src/trunk]: src/tests/net/net Fix that cleanup doesn't run when DEBUG=false



details:   https://anonhg.NetBSD.org/src/rev/5c7da087c0e7
branches:  trunk
changeset: 819710:5c7da087c0e7
user:      ozaki-r <ozaki-r%NetBSD.org@localhost>
date:      Thu Dec 15 02:43:56 2016 +0000

description:
Fix that cleanup doesn't run when DEBUG=false

diffstat:

 tests/net/net/t_ipaddress.sh |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r ad2fc225fb08 -r 5c7da087c0e7 tests/net/net/t_ipaddress.sh
--- a/tests/net/net/t_ipaddress.sh      Wed Dec 14 22:30:42 2016 +0000
+++ b/tests/net/net/t_ipaddress.sh      Thu Dec 15 02:43:56 2016 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: t_ipaddress.sh,v 1.8 2016/11/25 08:51:17 ozaki-r Exp $
+#      $NetBSD: t_ipaddress.sh,v 1.9 2016/12/15 02:43:56 ozaki-r Exp $
 #
 # Copyright (c) 2015 Internet Initiative Japan Inc.
 # All rights reserved.
@@ -178,7 +178,7 @@
                        test_${name}; \
                }; \
            ipaddr_${name}_cleanup() { \
-                       $DEBUG && dump \
+                       $DEBUG && dump; \
                        cleanup; \
                }"
        atf_add_test_case "ipaddr_${name}"



Home | Main Index | Thread Index | Old Index