Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F132946421
D35847.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
691 B
Referenced Files
None
Subscribers
None
D35847.diff
View Options
diff --git a/tests/sys/net/if_vlan.sh b/tests/sys/net/if_vlan.sh
--- a/tests/sys/net/if_vlan.sh
+++ b/tests/sys/net/if_vlan.sh
@@ -29,6 +29,17 @@
jexec singsing ifconfig ${vlan1} 10.0.0.2/24 up
atf_check -s exit:0 -o ignore jexec singsing ping -c 1 10.0.0.1
+
+ # Test changing the vlan ID
+ atf_check -s exit:0 \
+ jexec singsing ifconfig ${vlan1} vlandev ${epair_vlan}b vlan 43
+ atf_check -s exit:2 -o ignore jexec singsing ping -c 1 10.0.0.1
+
+ # And change back
+ # Test changing the vlan ID
+ atf_check -s exit:0 \
+ jexec singsing ifconfig ${vlan1} vlandev ${epair_vlan}b vlan 42
+ atf_check -s exit:0 -o ignore jexec singsing ping -c 1 10.0.0.1
}
basic_cleanup()
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Oct 22, 10:07 AM (8 h, 41 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
24053379
Default Alt Text
D35847.diff (691 B)
Attached To
Mode
D35847: if_vlan tests: Test changing vlan ID
Attached
Detach File
Event Timeline
Log In to Comment