aboutsummaryrefslogtreecommitdiffstats
path: root/test/features/2.4.exp
diff options
context:
space:
mode:
authorLibravatar Fred Barclay <Fred-Barclay@users.noreply.github.com>2017-05-24 14:38:01 -0500
committerLibravatar Fred Barclay <Fred-Barclay@users.noreply.github.com>2017-05-24 14:38:01 -0500
commit997a93efbdcbbaeed517e0bdc5283e9d8b31f422 (patch)
treecbb47fb1b41ced351501686e3fdf9aaf46b31414 /test/features/2.4.exp
parentRemove trailing whitespace from platform (diff)
downloadfirejail-997a93efbdcbbaeed517e0bdc5283e9d8b31f422.tar.gz
firejail-997a93efbdcbbaeed517e0bdc5283e9d8b31f422.tar.zst
firejail-997a93efbdcbbaeed517e0bdc5283e9d8b31f422.zip
strip trailing whitespace from test/
Diffstat (limited to 'test/features/2.4.exp')
-rwxr-xr-xtest/features/2.4.exp28
1 files changed, 14 insertions, 14 deletions
diff --git a/test/features/2.4.exp b/test/features/2.4.exp
index fed596410..6784e1add 100755
--- a/test/features/2.4.exp
+++ b/test/features/2.4.exp
@@ -99,15 +99,15 @@ if { $overlay == "overlay" } {
99 "Child process initialized" {puts "normal system\n"} 99 "Child process initialized" {puts "normal system\n"}
100 } 100 }
101 sleep 1 101 sleep 1
102 102
103 send -- "ping -c 3 10.10.20.1\r" 103 send -- "ping -c 3 10.10.20.1\r"
104 expect { 104 expect {
105 timeout {puts "TESTING ERROR 3\n";exit} 105 timeout {puts "TESTING ERROR 3\n";exit}
106 " packets transmitted, 3 received, 0% packet loss" 106 " packets transmitted, 3 received, 0% packet loss"
107 } 107 }
108 sleep 1 108 sleep 1
109 109
110 110
111 send -- "/sbin/ifconfig\r" 111 send -- "/sbin/ifconfig\r"
112 expect { 112 expect {
113 timeout {puts "TESTING ERROR 3.4\n";exit} 113 timeout {puts "TESTING ERROR 3.4\n";exit}
@@ -126,25 +126,25 @@ if { $overlay == "overlay" } {
126 "UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1" 126 "UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1"
127 } 127 }
128 after 100 128 after 100
129 129
130 send -- "exit\r" 130 send -- "exit\r"
131 sleep 1 131 sleep 1
132 132
133 send -- "firejail --noprofile --net=br0 --ip=10.10.20.4 --overlay\r" 133 send -- "firejail --noprofile --net=br0 --ip=10.10.20.4 --overlay\r"
134 expect { 134 expect {
135 timeout {puts "TESTING ERROR 2\n";exit} 135 timeout {puts "TESTING ERROR 2\n";exit}
136 "Child process initialized" 136 "Child process initialized"
137 } 137 }
138 sleep 1 138 sleep 1
139 139
140 send -- "ping -c 3 10.10.20.1\r" 140 send -- "ping -c 3 10.10.20.1\r"
141 expect { 141 expect {
142 timeout {puts "TESTING ERROR 3\n";exit} 142 timeout {puts "TESTING ERROR 3\n";exit}
143 " packets transmitted, 3 received, 0% packet loss" 143 " packets transmitted, 3 received, 0% packet loss"
144 } 144 }
145 sleep 1 145 sleep 1
146 146
147 147
148 send -- "/sbin/ifconfig\r" 148 send -- "/sbin/ifconfig\r"
149 expect { 149 expect {
150 timeout {puts "TESTING ERROR 3.4\n";exit} 150 timeout {puts "TESTING ERROR 3.4\n";exit}
@@ -163,7 +163,7 @@ if { $overlay == "overlay" } {
163 "UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1" 163 "UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1"
164 } 164 }
165 after 100 165 after 100
166 166
167 send -- "exit\r" 167 send -- "exit\r"
168 sleep 1 168 sleep 1
169} 169}
@@ -179,7 +179,7 @@ if { $chroot == "chroot" } {
179 "Child process initialized" 179 "Child process initialized"
180 } 180 }
181 sleep 1 181 sleep 1
182 182
183 send -- "/sbin/ifconfig\r" 183 send -- "/sbin/ifconfig\r"
184 expect { 184 expect {
185 timeout {puts "TESTING ERROR 5.4\n";exit} 185 timeout {puts "TESTING ERROR 5.4\n";exit}
@@ -198,17 +198,17 @@ if { $chroot == "chroot" } {
198 "UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1" 198 "UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1"
199 } 199 }
200 after 100 200 after 100
201 201
202 send -- "exit\r" 202 send -- "exit\r"
203 sleep 1 203 sleep 1
204 204
205 send -- "firejail --noprofile --net=br0 --ip=10.10.20.4 --chroot=/tmp/chroot\r" 205 send -- "firejail --noprofile --net=br0 --ip=10.10.20.4 --chroot=/tmp/chroot\r"
206 expect { 206 expect {
207 timeout {puts "TESTING ERROR 4\n";exit} 207 timeout {puts "TESTING ERROR 4\n";exit}
208 "Child process initialized" 208 "Child process initialized"
209 } 209 }
210 sleep 1 210 sleep 1
211 211
212 send -- "/sbin/ifconfig\r" 212 send -- "/sbin/ifconfig\r"
213 expect { 213 expect {
214 timeout {puts "TESTING ERROR 5.4\n";exit} 214 timeout {puts "TESTING ERROR 5.4\n";exit}
@@ -227,7 +227,7 @@ if { $chroot == "chroot" } {
227 "UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1" 227 "UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1"
228 } 228 }
229 after 100 229 after 100
230 230
231 send -- "exit\r" 231 send -- "exit\r"
232 sleep 1 232 sleep 1
233} 233}