Module Name:    src
Committed By:   ozaki-r
Date:           Thu Feb 20 07:58:19 UTC 2020

Modified Files:
        src/tests/net: net_common.sh

Log Message:
tests: dump stats of an interface before destroying it


To generate a diff of this commit:
cvs rdiff -u -r1.37 -r1.38 src/tests/net/net_common.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/net_common.sh
diff -u src/tests/net/net_common.sh:1.37 src/tests/net/net_common.sh:1.38
--- src/tests/net/net_common.sh:1.37	Mon Aug 26 04:50:32 2019
+++ src/tests/net/net_common.sh	Thu Feb 20 07:58:19 2020
@@ -1,4 +1,4 @@
-#	$NetBSD: net_common.sh,v 1.37 2019/08/26 04:50:32 ozaki-r Exp $
+#	$NetBSD: net_common.sh,v 1.38 2020/02/20 07:58:19 ozaki-r Exp $
 #
 # Copyright (c) 2016 Internet Initiative Japan Inc.
 # All rights reserved.
@@ -398,6 +398,9 @@ rump_server_destroy_ifaces()
 	while read sock ifname; do
 		export RUMP_SERVER=$sock
 		if rump.ifconfig -l |grep -q $ifname; then
+			if $DEBUG; then
+				rump.ifconfig -v $ifname
+			fi
 			atf_check -s exit:0 rump.ifconfig $ifname destroy
 		fi
 		atf_check -s exit:0 -o ignore rump.ifconfig

Reply via email to