mirror of
https://github.com/kernelkit/infix.git
synced 2026-08-06 23:43:20 +02:00
src/net: update basic bridge test with new create_bridge() API
Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
committed by
Tobias Waldekranz
parent
afb82a52e4
commit
61c5724da7
@@ -11,7 +11,7 @@ say "Verify bringup of basic bridge with three ports"
|
||||
create_iface eth0
|
||||
create_iface eth1
|
||||
create_iface eth2
|
||||
create_bridge br0 eth0 eth1 eth2
|
||||
create_bridge br0 "" eth0 eth1 eth2
|
||||
|
||||
netdo
|
||||
|
||||
@@ -20,7 +20,7 @@ assert_iface br0
|
||||
|
||||
################################################
|
||||
sep
|
||||
say "Verify add another bridge port"
|
||||
say "Verify add another bridge port (eth3)"
|
||||
init_next_gen
|
||||
create_iface_data br0
|
||||
|
||||
@@ -34,7 +34,7 @@ assert_iface br0
|
||||
|
||||
################################################
|
||||
sep
|
||||
say "Verify delete a bridge port"
|
||||
say "Verify delete a bridge port (eth1)"
|
||||
del_brport br0 eth1
|
||||
|
||||
init_next_gen
|
||||
@@ -43,7 +43,6 @@ create_iface_data eth1
|
||||
|
||||
netdo
|
||||
|
||||
bridge link
|
||||
assert_bridge_ports br0 true eth0 eth2 eth3
|
||||
assert_bridge_ports br0 false eth1
|
||||
assert_iface br0
|
||||
|
||||
Reference in New Issue
Block a user