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 Add test case of vlan(4)'s re-configure wi...
details: https://anonhg.NetBSD.org/src/rev/b5ae4ce04d1e
branches: trunk
changeset: 357580:b5ae4ce04d1e
user: msaitoh <msaitoh%NetBSD.org@localhost>
date: Thu Nov 16 06:31:00 2017 +0000
description:
Add test case of vlan(4)'s re-configure without destroy
(see also if_vlan.c rev. 1.104). Written by s-yamaguchi@iij.
diffstat:
tests/net/if_vlan/t_vlan.sh | 10 ++++++++--
1 files changed, 8 insertions(+), 2 deletions(-)
diffs (24 lines):
diff -r 6178d0acaf85 -r b5ae4ce04d1e tests/net/if_vlan/t_vlan.sh
--- a/tests/net/if_vlan/t_vlan.sh Thu Nov 16 03:07:17 2017 +0000
+++ b/tests/net/if_vlan/t_vlan.sh Thu Nov 16 06:31:00 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: t_vlan.sh,v 1.4 2017/10/11 08:10:53 msaitoh Exp $
+# $NetBSD: t_vlan.sh,v 1.5 2017/11/16 06:31:00 msaitoh Exp $
#
# Copyright (c) 2016 Internet Initiative Japan Inc.
# All rights reserved.
@@ -456,7 +456,13 @@
atf_check -s exit:0 rump.ifconfig vlan0 vlan 10 vlanif shmif0
atf_check -s not-exit:0 -e match:'File exists' \
rump.ifconfig vlan1 vlan 10 vlanif shmif0
- atf_check -s exit:0 rump.ifconfig vlan0 -vlanif
+ atf_check -s exit:0 rump.ifconfig vlan1 vlan 10 vlanif shmif1
+
+ atf_check -s exit:0 rump.ifconfig vlan1 -vlanif shmif1
+ atf_check -s exit:0 rump.ifconfig vlan1 vlan 10 vlanif shmif1
+
+ atf_check -s exit:0 rump.ifconfig vlan0 -vlanif shmif0
+ atf_check -s exit:0 rump.ifconfig vlan0 vlan 10 vlanif shmif0
}
atf_test_case vlan_configs cleanup
Home |
Main Index |
Thread Index |
Old Index