diff options
author | Fred Barclay <Fred-Barclay@users.noreply.github.com> | 2017-05-24 14:38:01 -0500 |
---|---|---|
committer | Fred Barclay <Fred-Barclay@users.noreply.github.com> | 2017-05-24 14:38:01 -0500 |
commit | 997a93efbdcbbaeed517e0bdc5283e9d8b31f422 (patch) | |
tree | cbb47fb1b41ced351501686e3fdf9aaf46b31414 /test/features/2.3.exp | |
parent | Remove trailing whitespace from platform (diff) | |
download | firejail-997a93efbdcbbaeed517e0bdc5283e9d8b31f422.tar.gz firejail-997a93efbdcbbaeed517e0bdc5283e9d8b31f422.tar.zst firejail-997a93efbdcbbaeed517e0bdc5283e9d8b31f422.zip |
strip trailing whitespace from test/
Diffstat (limited to 'test/features/2.3.exp')
-rwxr-xr-x | test/features/2.3.exp | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/test/features/2.3.exp b/test/features/2.3.exp index 63caab14c..9d3320d78 100755 --- a/test/features/2.3.exp +++ b/test/features/2.3.exp | |||
@@ -111,7 +111,7 @@ if { $overlay == "overlay" } { | |||
111 | "Child process initialized" {puts "normal system\n"} | 111 | "Child process initialized" {puts "normal system\n"} |
112 | } | 112 | } |
113 | sleep 1 | 113 | sleep 1 |
114 | 114 | ||
115 | send -- "dig google.com\r" | 115 | send -- "dig google.com\r" |
116 | expect { | 116 | expect { |
117 | timeout {puts "TESTING ERROR 3\n";exit} | 117 | timeout {puts "TESTING ERROR 3\n";exit} |
@@ -126,7 +126,7 @@ if { $overlay == "overlay" } { | |||
126 | "SERVER" | 126 | "SERVER" |
127 | } | 127 | } |
128 | after 100 | 128 | after 100 |
129 | 129 | ||
130 | send -- "/sbin/ifconfig\r" | 130 | send -- "/sbin/ifconfig\r" |
131 | expect { | 131 | expect { |
132 | timeout {puts "TESTING ERROR 3.4\n";exit} | 132 | timeout {puts "TESTING ERROR 3.4\n";exit} |
@@ -145,17 +145,17 @@ if { $overlay == "overlay" } { | |||
145 | "UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1" | 145 | "UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1" |
146 | } | 146 | } |
147 | after 100 | 147 | after 100 |
148 | 148 | ||
149 | send -- "exit\r" | 149 | send -- "exit\r" |
150 | sleep 3 | 150 | sleep 3 |
151 | 151 | ||
152 | send -- "firejail --noprofile --net=eth0 --ip=192.168.1.244 --overlay --dns=8.8.8.8 --dns=8.8.4.4\r" | 152 | send -- "firejail --noprofile --net=eth0 --ip=192.168.1.244 --overlay --dns=8.8.8.8 --dns=8.8.4.4\r" |
153 | expect { | 153 | expect { |
154 | timeout {puts "TESTING ERROR 2\n";exit} | 154 | timeout {puts "TESTING ERROR 2\n";exit} |
155 | "Child process initialized" | 155 | "Child process initialized" |
156 | } | 156 | } |
157 | sleep 1 | 157 | sleep 1 |
158 | 158 | ||
159 | send -- "dig google.com\r" | 159 | send -- "dig google.com\r" |
160 | expect { | 160 | expect { |
161 | timeout {puts "TESTING ERROR 3\n";exit} | 161 | timeout {puts "TESTING ERROR 3\n";exit} |
@@ -170,7 +170,7 @@ if { $overlay == "overlay" } { | |||
170 | "SERVER" | 170 | "SERVER" |
171 | } | 171 | } |
172 | after 100 | 172 | after 100 |
173 | 173 | ||
174 | send -- "/sbin/ifconfig\r" | 174 | send -- "/sbin/ifconfig\r" |
175 | expect { | 175 | expect { |
176 | timeout {puts "TESTING ERROR 3.4\n";exit} | 176 | timeout {puts "TESTING ERROR 3.4\n";exit} |
@@ -189,7 +189,7 @@ if { $overlay == "overlay" } { | |||
189 | "UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1" | 189 | "UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1" |
190 | } | 190 | } |
191 | after 100 | 191 | after 100 |
192 | 192 | ||
193 | send -- "exit\r" | 193 | send -- "exit\r" |
194 | sleep 3 | 194 | sleep 3 |
195 | } | 195 | } |
@@ -205,7 +205,7 @@ if { $chroot == "chroot" } { | |||
205 | "Child process initialized" | 205 | "Child process initialized" |
206 | } | 206 | } |
207 | sleep 1 | 207 | sleep 1 |
208 | 208 | ||
209 | send -- "dig google.com\r" | 209 | send -- "dig google.com\r" |
210 | expect { | 210 | expect { |
211 | timeout {puts "TESTING ERROR 5\n";exit} | 211 | timeout {puts "TESTING ERROR 5\n";exit} |
@@ -220,7 +220,7 @@ if { $chroot == "chroot" } { | |||
220 | "SERVER:" | 220 | "SERVER:" |
221 | } | 221 | } |
222 | after 100 | 222 | after 100 |
223 | 223 | ||
224 | send -- "/sbin/ifconfig\r" | 224 | send -- "/sbin/ifconfig\r" |
225 | expect { | 225 | expect { |
226 | timeout {puts "TESTING ERROR 5.4\n";exit} | 226 | timeout {puts "TESTING ERROR 5.4\n";exit} |
@@ -239,17 +239,17 @@ if { $chroot == "chroot" } { | |||
239 | "UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1" | 239 | "UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1" |
240 | } | 240 | } |
241 | after 100 | 241 | after 100 |
242 | 242 | ||
243 | send -- "exit\r" | 243 | send -- "exit\r" |
244 | sleep 3 | 244 | sleep 3 |
245 | 245 | ||
246 | send -- "firejail --noprofile --net=eth0 --ip=192.168.1.244 --chroot=/tmp/chroot --dns=8.8.8.8 --dns=8.8.4.4\r" | 246 | send -- "firejail --noprofile --net=eth0 --ip=192.168.1.244 --chroot=/tmp/chroot --dns=8.8.8.8 --dns=8.8.4.4\r" |
247 | expect { | 247 | expect { |
248 | timeout {puts "TESTING ERROR 4\n";exit} | 248 | timeout {puts "TESTING ERROR 4\n";exit} |
249 | "Child process initialized" | 249 | "Child process initialized" |
250 | } | 250 | } |
251 | sleep 1 | 251 | sleep 1 |
252 | 252 | ||
253 | send -- "dig google.com\r" | 253 | send -- "dig google.com\r" |
254 | expect { | 254 | expect { |
255 | timeout {puts "TESTING ERROR 5\n";exit} | 255 | timeout {puts "TESTING ERROR 5\n";exit} |
@@ -264,7 +264,7 @@ if { $chroot == "chroot" } { | |||
264 | "SERVER:" | 264 | "SERVER:" |
265 | } | 265 | } |
266 | after 100 | 266 | after 100 |
267 | 267 | ||
268 | send -- "/sbin/ifconfig\r" | 268 | send -- "/sbin/ifconfig\r" |
269 | expect { | 269 | expect { |
270 | timeout {puts "TESTING ERROR 5.4\n";exit} | 270 | timeout {puts "TESTING ERROR 5.4\n";exit} |
@@ -283,7 +283,7 @@ if { $chroot == "chroot" } { | |||
283 | "UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1" | 283 | "UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1" |
284 | } | 284 | } |
285 | after 100 | 285 | after 100 |
286 | 286 | ||
287 | send -- "exit\r" | 287 | send -- "exit\r" |
288 | sleep 1 | 288 | sleep 1 |
289 | } | 289 | } |