aboutsummaryrefslogtreecommitdiffstats
path: root/test/network/4bridges_ip.exp
diff options
context:
space:
mode:
Diffstat (limited to 'test/network/4bridges_ip.exp')
-rwxr-xr-xtest/network/4bridges_ip.exp12
1 files changed, 8 insertions, 4 deletions
diff --git a/test/network/4bridges_ip.exp b/test/network/4bridges_ip.exp
index 5e136926b..74a1e5d68 100755
--- a/test/network/4bridges_ip.exp
+++ b/test/network/4bridges_ip.exp
@@ -150,25 +150,29 @@ expect {
150send -- "ip route show\r" 150send -- "ip route show\r"
151expect { 151expect {
152 timeout {puts "TESTING ERROR 10.2\n";exit} 152 timeout {puts "TESTING ERROR 10.2\n";exit}
153 "10.10.20.0/29 dev eth0 proto kernel scope link" 153 "10.10.20.0/29 dev eth0 proto kernel scope link" {puts "old iproute2\n";}
154 "10.10.20.0/29 dev eth0 proto kernel scope link" {puts "new iproute2\n";}
154} 155}
155 156
156send -- "ip route show\r" 157send -- "ip route show\r"
157expect { 158expect {
158 timeout {puts "TESTING ERROR 10.3\n";exit} 159 timeout {puts "TESTING ERROR 10.3\n";exit}
159 "10.10.30.0/24 dev eth1 proto kernel scope link src 10.10.30.50" 160 "10.10.30.0/24 dev eth1 proto kernel scope link src 10.10.30.50" {puts "old iproute2\n";}
161 "10.10.30.0/24 dev eth1 proto kernel scope link src 10.10.30.50" {puts "new iproute2\n";}
160} 162}
161 163
162send -- "ip route show\r" 164send -- "ip route show\r"
163expect { 165expect {
164 timeout {puts "TESTING ERROR 10.4\n";exit} 166 timeout {puts "TESTING ERROR 10.4\n";exit}
165 "10.10.40.0/24 dev eth2 proto kernel scope link src 10.10.40.100" 167 "10.10.40.0/24 dev eth2 proto kernel scope link src 10.10.40.100" {puts "old iproute2\n";}
168 "10.10.40.0/24 dev eth2 proto kernel scope link src 10.10.40.100" {puts "new iproute2\n";}
166} 169}
167 170
168send -- "ip route show\r" 171send -- "ip route show\r"
169expect { 172expect {
170 timeout {puts "TESTING ERROR 10.5\n";exit} 173 timeout {puts "TESTING ERROR 10.5\n";exit}
171 "10.10.50.0/24 dev eth3 proto kernel scope link" 174 "10.10.50.0/24 dev eth3 proto kernel scope link" {puts "old iproute2\n";}
175 "10.10.50.0/24 dev eth3 proto kernel scope link" {puts "new iproute2\n";}
172} 176}
173 177
174send -- "exit\r" 178send -- "exit\r"