Source-Changes-HG archive

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

[src/trunk]: src/tests/net/if_vlan address to ATF t_vlan failure. adapt ifmcs...



details:   https://anonhg.NetBSD.org/src/rev/b2f2301b597e
branches:  trunk
changeset: 1008022:b2f2301b597e
user:      nisimura <nisimura%NetBSD.org@localhost>
date:      Sun Mar 08 09:05:33 2020 +0000

description:
address to ATF t_vlan failure. adapt ifmcstat(8) output format change.

diffstat:

 tests/net/if_vlan/t_vlan.sh |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r db1df07a2871 -r b2f2301b597e tests/net/if_vlan/t_vlan.sh
--- a/tests/net/if_vlan/t_vlan.sh       Sun Mar 08 08:26:54 2020 +0000
+++ b/tests/net/if_vlan/t_vlan.sh       Sun Mar 08 09:05:33 2020 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: t_vlan.sh,v 1.16 2019/11/11 02:40:48 yamaguchi Exp $
+#      $NetBSD: t_vlan.sh,v 1.17 2020/03/08 09:05:33 nisimura Exp $
 #
 # Copyright (c) 2016 Internet Initiative Japan Inc.
 # All rights reserved.
@@ -792,7 +792,7 @@
        # add an address to different interfaces
        $atf_siocXmulti add vlan0 $mcaddr
        $atf_siocXmulti add vlan1 $mcaddr
-       atf_check -s exit:0 -o match:"${eth_mcaddr}: 2" $HIJACKING ifmcstat
+       atf_check -s exit:0 -o match:"${eth_mcaddr} refcount 2" $HIJACKING ifmcstat
        $atf_siocXmulti del vlan0 $mcaddr
 
        # delete the address with invalid interface
@@ -805,7 +805,7 @@
        $atf_siocXmulti add vlan0 $mcaddr
        $atf_siocXmulti add vlan0 $mcaddr
        $atf_siocXmulti add vlan0 $mcaddr
-       atf_check -s exit:0 -o match:"${eth_mcaddr}: 3" $HIJACKING ifmcstat
+       atf_check -s exit:0 -o match:"${eth_mcaddr} refcount 3" $HIJACKING ifmcstat
        $atf_siocXmulti del vlan0 $mcaddr
        $atf_siocXmulti del vlan0 $mcaddr
        $atf_siocXmulti del vlan0 $mcaddr



Home | Main Index | Thread Index | Old Index