aboutsummaryrefslogtreecommitdiffstats
path: root/test/network/net_mac.exp
diff options
context:
space:
mode:
Diffstat (limited to 'test/network/net_mac.exp')
-rwxr-xr-xtest/network/net_mac.exp5
1 files changed, 2 insertions, 3 deletions
diff --git a/test/network/net_mac.exp b/test/network/net_mac.exp
index 086efd02c..481e452af 100755
--- a/test/network/net_mac.exp
+++ b/test/network/net_mac.exp
@@ -8,7 +8,7 @@ spawn $env(SHELL)
8match_max 100000 8match_max 100000
9 9
10# check ip address 10# check ip address
11send -- "firejail --net=br0 --ip=10.10.20.5 --mac=00:11:22:33:44:55\r" 11send -- "firejail --net=br0 --ip=10.10.20.5 --mac=00:11:22:33:44:55 cat /proc/1/net/dev\r"
12expect { 12expect {
13 timeout {puts "TESTING ERROR 0\n";exit} 13 timeout {puts "TESTING ERROR 0\n";exit}
14 "eth0" 14 "eth0"
@@ -23,7 +23,7 @@ expect {
23} 23}
24expect { 24expect {
25 timeout {puts "TESTING ERROR 2\n";exit} 25 timeout {puts "TESTING ERROR 2\n";exit}
26 "255.255.255.248" 26 "255.255.255.0"
27} 27}
28expect { 28expect {
29 timeout {puts "TESTING ERROR 3\n";exit} 29 timeout {puts "TESTING ERROR 3\n";exit}
@@ -33,7 +33,6 @@ expect {
33 timeout {puts "TESTING ERROR 4\n";exit} 33 timeout {puts "TESTING ERROR 4\n";exit}
34 -re "Child process initialized in \[0-9\]+.\[0-9\]+ ms" 34 -re "Child process initialized in \[0-9\]+.\[0-9\]+ ms"
35} 35}
36send -- "exit\r"
37after 100 36after 100
38 37
39puts "\nall done\n" 38puts "\nall done\n"