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 vlan: Added missing $HIJACKING before brco...



details:   https://anonhg.NetBSD.org/src/rev/4b73a5e3ff33
branches:  trunk
changeset: 1022363:4b73a5e3ff33
user:      yamaguchi <yamaguchi%NetBSD.org@localhost>
date:      Wed Jul 14 08:51:51 2021 +0000

description:
vlan: Added missing $HIJACKING before brconfig

diffstat:

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

diffs (34 lines):

diff -r 061cdbf86203 -r 4b73a5e3ff33 tests/net/if_vlan/t_vlan.sh
--- a/tests/net/if_vlan/t_vlan.sh       Wed Jul 14 08:50:24 2021 +0000
+++ b/tests/net/if_vlan/t_vlan.sh       Wed Jul 14 08:51:51 2021 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: t_vlan.sh,v 1.22 2021/07/14 08:50:24 yamaguchi Exp $
+#      $NetBSD: t_vlan.sh,v 1.23 2021/07/14 08:51:51 yamaguchi Exp $
 #
 # Copyright (c) 2016 Internet Initiative Japan Inc.
 # All rights reserved.
@@ -723,7 +723,7 @@
        atf_check -s exit:0 -o match:'mtu 1496' rump.ifconfig vlan0
 
        $atf_brconfig bridge0 add vlan0
-       $DEBUG && brconfig bridge0
+       $DEBUG && $HIJACKING /sbin/brconfig bridge0
        atf_check -s exit:0 -o match:'mtu 1495' rump.ifconfig vlan0
        $atf_brconfig bridge0 delete vlan0
 
@@ -734,13 +734,13 @@
        $atf_ifconfig vlan0 mtu 1495
        $atf_brconfig bridge0 add vlan0
 
-       $DEBUG && brconfig bridge0
+       $DEBUG && $HIJACKING /sbin/brconfig bridge0
        atf_check -s exit:0 -o match:'mtu 1496' rump.ifconfig vlan0
        $atf_brconfig bridge0 delete vlan0
 
        $atf_ifconfig bridge0 mtu 1497
        atf_check -s not-exit:0 -o ignore -e ignore \
-           /sbin/brconfig bridge0 add vlan0
+           $HIJACKING /sbin/brconfig bridge0 add vlan0
 
        #
        # Destroy a vlan interface that is bridge member



Home | Main Index | Thread Index | Old Index