aboutsummaryrefslogtreecommitdiffstats
path: root/test/features/2.4.exp
diff options
context:
space:
mode:
Diffstat (limited to 'test/features/2.4.exp')
-rwxr-xr-xtest/features/2.4.exp116
1 files changed, 58 insertions, 58 deletions
diff --git a/test/features/2.4.exp b/test/features/2.4.exp
index 424d4fead..3291c046c 100755
--- a/test/features/2.4.exp
+++ b/test/features/2.4.exp
@@ -170,65 +170,65 @@ if { $overlay == "overlay" } {
170# 170#
171# C 171# C
172# 172#
173send -- "firejail --noprofile --net=br0 --chroot=/tmp/chroot\r" 173if { $chroot == "chroot" } {
174expect { 174 send -- "firejail --noprofile --net=br0 --chroot=/tmp/chroot\r"
175 timeout {puts "TESTING ERROR 4\n";exit} 175 expect {
176 "Child process initialized" 176 timeout {puts "TESTING ERROR 4\n";exit}
177} 177 "Child process initialized"
178sleep 1 178 }
179 179 sleep 1
180send -- "/sbin/ifconfig\r" 180
181expect { 181 send -- "/sbin/ifconfig\r"
182 timeout {puts "TESTING ERROR 5.4\n";exit} 182 expect {
183 "eth0" 183 timeout {puts "TESTING ERROR 5.4\n";exit}
184} 184 "eth0"
185expect { 185 }
186 timeout {puts "TESTING ERROR 5.5\n";exit} 186 expect {
187 "Link" 187 timeout {puts "TESTING ERROR 5.5\n";exit}
188} 188 "Link"
189expect { 189 }
190 timeout {puts "TESTING ERROR 5.6\n";exit} 190 expect {
191 "10.10.20" 191 timeout {puts "TESTING ERROR 5.6\n";exit}
192} 192 "10.10.20"
193expect { 193 }
194 timeout {puts "TESTING ERROR 5.7\n";exit} 194 expect {
195 "UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1" 195 timeout {puts "TESTING ERROR 5.7\n";exit}
196} 196 "UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1"
197after 100 197 }
198 198 after 100
199send -- "exit\r" 199
200sleep 1 200 send -- "exit\r"
201 201 sleep 1
202send -- "firejail --noprofile --net=br0 --ip=10.10.20.4 --chroot=/tmp/chroot\r" 202
203expect { 203 send -- "firejail --noprofile --net=br0 --ip=10.10.20.4 --chroot=/tmp/chroot\r"
204 timeout {puts "TESTING ERROR 4\n";exit} 204 expect {
205 "Child process initialized" 205 timeout {puts "TESTING ERROR 4\n";exit}
206} 206 "Child process initialized"
207sleep 1 207 }
208 208 sleep 1
209send -- "/sbin/ifconfig\r" 209
210expect { 210 send -- "/sbin/ifconfig\r"
211 timeout {puts "TESTING ERROR 5.4\n";exit} 211 expect {
212 "eth0" 212 timeout {puts "TESTING ERROR 5.4\n";exit}
213} 213 "eth0"
214expect { 214 }
215 timeout {puts "TESTING ERROR 5.5\n";exit} 215 expect {
216 "Link" 216 timeout {puts "TESTING ERROR 5.5\n";exit}
217} 217 "Link"
218expect { 218 }
219 timeout {puts "TESTING ERROR 5.6\n";exit} 219 expect {
220 "10.10.20.4" 220 timeout {puts "TESTING ERROR 5.6\n";exit}
221} 221 "10.10.20.4"
222expect { 222 }
223 timeout {puts "TESTING ERROR 5.7\n";exit} 223 expect {
224 "UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1" 224 timeout {puts "TESTING ERROR 5.7\n";exit}
225 "UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1"
226 }
227 after 100
228
229 send -- "exit\r"
230 sleep 1
225} 231}
226after 100
227
228send -- "exit\r"
229sleep 1
230
231
232 232
233 233
234puts "\nall done\n" 234puts "\nall done\n"