Test netstat -i -a and ifmcstat

This commit is contained in:
ozaki-r 2017-01-10 05:55:34 +00:00
parent d6b5ca395c
commit e23687f598

View File

@ -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 @@ rump_server_destroy_ifaces()
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 @@ rump_server_dump_servers()
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