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.exp55
1 files changed, 29 insertions, 26 deletions
diff --git a/test/features/2.5.exp b/test/features/2.5.exp
index 4ba1f5a28..e189f145b 100755
--- a/test/features/2.5.exp
+++ b/test/features/2.5.exp
@@ -6,6 +6,7 @@
6set timeout 10 6set timeout 10
7spawn $env(SHELL) 7spawn $env(SHELL)
8match_max 100000 8match_max 100000
9set overlay [lindex $argv 0]
9 10
10# 11#
11# N 12# N
@@ -41,33 +42,35 @@ sleep 1
41# 42#
42# O 43# O
43# 44#
44send -- "firejail --noprofile --overlay --interface=eth0.6\r" 45if { $overlay == "overlay" } {
45expect { 46 send -- "firejail --noprofile --overlay --interface=eth0.6\r"
46 timeout {puts "TESTING ERROR 2\n";exit} 47 expect {
47 "Child process initialized" 48 timeout {puts "TESTING ERROR 2\n";exit}
48} 49 "Child process initialized"
49sleep 1 50 }
50 51 sleep 1
51send -- "/sbin/ifconfig\r" 52
52expect { 53 send -- "/sbin/ifconfig\r"
53 timeout {puts "TESTING ERROR 3.4\n";exit} 54 expect {
54 "eth0.6" 55 timeout {puts "TESTING ERROR 3.4\n";exit}
55} 56 "eth0.6"
56expect { 57 }
57 timeout {puts "TESTING ERROR 3.5n";exit} 58 expect {
58 "Link" 59 timeout {puts "TESTING ERROR 3.5n";exit}
59} 60 "Link"
60expect { 61 }
61 timeout {puts "TESTING ERROR 3.6\n";exit} 62 expect {
62 "10.10.206.10" 63 timeout {puts "TESTING ERROR 3.6\n";exit}
64 "10.10.206.10"
65 }
66 expect {
67 timeout {puts "TESTING ERROR 3.7\n";exit}
68 "UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1"
69 }
70 after 100
71 send -- "exit\r"
72 sleep 1
63} 73}
64expect {
65 timeout {puts "TESTING ERROR 3.7\n";exit}
66 "UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1"
67}
68after 100
69send -- "exit\r"
70sleep 1
71 74
72# 75#
73# C 76# C