Source-Changes-HG archive

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

[src/trunk]: src/tests/net Test netstat -i -a and ifmcstat



details:   https://anonhg.NetBSD.org/src/rev/5431010a9d72
branches:  trunk
changeset: 820454:5431010a9d72
user:      ozaki-r <ozaki-r%NetBSD.org@localhost>
date:      Tue Jan 10 05:55:34 2017 +0000

description:
Test netstat -i -a and ifmcstat

diffstat:

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

diffs (33 lines):

diff -r ca8f61662945 -r 5431010a9d72 tests/net/net_common.sh
--- a/tests/net/net_common.sh   Tue Jan 10 05:55:10 2017 +0000
+++ b/tests/net/net_common.sh   Tue Jan 10 05:55:34 2017 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: net_common.sh,v 1.10 2017/01/10 05:55:10 ozaki-r Exp $
+#      $NetBSD: net_common.sh,v 1.11 2017/01/10 05:55:34 ozaki-r Exp $
 #
 # Copyright (c) 2016 Internet Initiative Japan Inc.
 # All rights reserved.
@@ -225,8 +225,11 @@
                export RUMP_SERVER=$sock
                atf_check -s exit:0 -o ignore rump.ifconfig
                atf_check -s exit:0 -o ignore rump.netstat -nr
+               # XXX still need hijacking
+               atf_check -s exit:0 -o ignore $HIJACKING rump.netstat -i -a
                atf_check -s exit:0 -o ignore rump.arp -na
                atf_check -s exit:0 -o ignore rump.ndp -na
+               atf_check -s exit:0 -o ignore $HIJACKING ifmcstat
        done
 
        # XXX using pipe doesn't work. See PR bin/51667
@@ -266,8 +269,11 @@
                export RUMP_SERVER=$sock
                rump.ifconfig
                rump.netstat -nr
+               # XXX still need hijacking
+               $HIJACKING rump.netstat -i -a
                rump.arp -na
                rump.ndp -na
+               $HIJACKING ifmcstat
                $HIJACKING dmesg
        done
        export RUMP_SERVER=$backup



Home | Main Index | Thread Index | Old Index