Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F166924227
D35847.id108395.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.id108395.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
Tue, Aug 18, 7:36 PM (17 h, 29 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
36871734
Default Alt Text
D35847.id108395.diff (691 B)
Attached To
Mode
D35847: if_vlan tests: Test changing vlan ID
Attached
Detach File
Event Timeline
Log In to Comment