aboutsummaryrefslogtreecommitdiffstats
path: root/test/features/2.5.exp
diff options
context:
space:
mode:
Diffstat (limited to 'test/features/2.5.exp')
-rwxr-xr-xtest/features/2.5.exp54
1 files changed, 28 insertions, 26 deletions
diff --git a/test/features/2.5.exp b/test/features/2.5.exp
index e189f145b..44c9b5949 100755
--- a/test/features/2.5.exp
+++ b/test/features/2.5.exp
@@ -75,33 +75,35 @@ if { $overlay == "overlay" } {
75# 75#
76# C 76# C
77# 77#
78send -- "firejail --noprofile --chroot=/tmp/chroot --interface=eth0.7\r" 78if { $chroot == "chroot" } {
79expect { 79 send -- "firejail --noprofile --chroot=/tmp/chroot --interface=eth0.7\r"
80 timeout {puts "TESTING ERROR 4\n";exit} 80 expect {
81 "Child process initialized" 81 timeout {puts "TESTING ERROR 4\n";exit}
82} 82 "Child process initialized"
83sleep 1 83 }
84 84 sleep 1
85send -- "/sbin/ifconfig\r" 85
86expect { 86 send -- "/sbin/ifconfig\r"
87 timeout {puts "TESTING ERROR 5.4\n";exit} 87 expect {
88 "eth0.7" 88 timeout {puts "TESTING ERROR 5.4\n";exit}
89} 89 "eth0.7"
90expect { 90 }
91 timeout {puts "TESTING ERROR 5.5n";exit} 91 expect {
92 "Link" 92 timeout {puts "TESTING ERROR 5.5n";exit}
93} 93 "Link"
94expect { 94 }
95 timeout {puts "TESTING ERROR 5.6\n";exit} 95 expect {
96 "10.10.207.10" 96 timeout {puts "TESTING ERROR 5.6\n";exit}
97} 97 "10.10.207.10"
98expect { 98 }
99 timeout {puts "TESTING ERROR 5.7\n";exit} 99 expect {
100 "UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1" 100 timeout {puts "TESTING ERROR 5.7\n";exit}
101 "UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1"
102 }
103 after 100
104 send -- "exit\r"
105 sleep 1
101} 106}
102after 100
103send -- "exit\r"
104sleep 1
105 107
106 108
107puts "\nall done\n" 109puts "\nall done\n"