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 checks of linkstate
details: https://anonhg.NetBSD.org/src/rev/0b48a596df9d
branches: trunk
changeset: 984385:0b48a596df9d
user: yamaguchi <yamaguchi%NetBSD.org@localhost>
date: Tue Jul 06 01:18:22 2021 +0000
description:
vlan: added checks of linkstate
diffstat:
tests/net/if_vlan/t_vlan.sh | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diffs (22 lines):
diff -r b13a28946cda -r 0b48a596df9d tests/net/if_vlan/t_vlan.sh
--- a/tests/net/if_vlan/t_vlan.sh Tue Jul 06 01:16:01 2021 +0000
+++ b/tests/net/if_vlan/t_vlan.sh Tue Jul 06 01:18:22 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: t_vlan.sh,v 1.18 2021/07/02 04:38:10 yamaguchi Exp $
+# $NetBSD: t_vlan.sh,v 1.19 2021/07/06 01:18:22 yamaguchi Exp $
#
# Copyright (c) 2016 Internet Initiative Japan Inc.
# All rights reserved.
@@ -589,8 +589,12 @@
$atf_ifconfig shmif1 link b0:a0:75:00:01:01 active
$atf_ifconfig vlan0 create
+ atf_check -s exit:0 -o match:'status: +down' \
+ rump.ifconfig vlan0
$atf_ifconfig vlan0 vlan 10 vlanif shmif0
$atf_ifconfig vlan0 -vlanif
+ atf_check -s exit:0 -o match:'status: +down' \
+ rump.ifconfig vlan0
$atf_ifconfig vlan0 vlan 10 vlanif shmif0
$atf_ifconfig vlan0 -vlanif shmif0
Home |
Main Index |
Thread Index |
Old Index