Source-Changes-HG archive

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

[src/trunk]: src/tests/net tests: dump stats of an interface before destroyin...



details:   https://anonhg.NetBSD.org/src/rev/48f071598c25
branches:  trunk
changeset: 744989:48f071598c25
user:      ozaki-r <ozaki-r%NetBSD.org@localhost>
date:      Thu Feb 20 07:58:19 2020 +0000

description:
tests: dump stats of an interface before destroying it

diffstat:

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

diffs (19 lines):

diff -r 0a96e7fbc776 -r 48f071598c25 tests/net/net_common.sh
--- a/tests/net/net_common.sh   Thu Feb 20 07:52:55 2020 +0000
+++ b/tests/net/net_common.sh   Thu Feb 20 07:58:19 2020 +0000
@@ -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 @@
        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



Home | Main Index | Thread Index | Old Index