diff options
author | netblue30 <netblue30@yahoo.com> | 2015-12-23 16:42:58 -0500 |
---|---|---|
committer | netblue30 <netblue30@yahoo.com> | 2015-12-23 16:42:58 -0500 |
commit | dda687ed2a748cb262b317e0c7fdf4a9c4ae2d31 (patch) | |
tree | 144fba235fec87d74deff110aaa71891174b3eef /test/features/2.4.exp | |
parent | 0.9.36 testing (diff) | |
download | firejail-dda687ed2a748cb262b317e0c7fdf4a9c4ae2d31.tar.gz firejail-dda687ed2a748cb262b317e0c7fdf4a9c4ae2d31.tar.zst firejail-dda687ed2a748cb262b317e0c7fdf4a9c4ae2d31.zip |
0.9.36 testing
Diffstat (limited to 'test/features/2.4.exp')
-rwxr-xr-x | test/features/2.4.exp | 116 |
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 | # |
173 | send -- "firejail --noprofile --net=br0 --chroot=/tmp/chroot\r" | 173 | if { $chroot == "chroot" } { |
174 | expect { | 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" |
178 | sleep 1 | 178 | } |
179 | 179 | sleep 1 | |
180 | send -- "/sbin/ifconfig\r" | 180 | |
181 | expect { | 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" |
185 | expect { | 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" |
189 | expect { | 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" |
193 | expect { | 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" |
197 | after 100 | 197 | } |
198 | 198 | after 100 | |
199 | send -- "exit\r" | 199 | |
200 | sleep 1 | 200 | send -- "exit\r" |
201 | 201 | sleep 1 | |
202 | send -- "firejail --noprofile --net=br0 --ip=10.10.20.4 --chroot=/tmp/chroot\r" | 202 | |
203 | expect { | 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" |
207 | sleep 1 | 207 | } |
208 | 208 | sleep 1 | |
209 | send -- "/sbin/ifconfig\r" | 209 | |
210 | expect { | 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" |
214 | expect { | 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" |
218 | expect { | 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" |
222 | expect { | 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 | } |
226 | after 100 | ||
227 | |||
228 | send -- "exit\r" | ||
229 | sleep 1 | ||
230 | |||
231 | |||
232 | 232 | ||
233 | 233 | ||
234 | puts "\nall done\n" | 234 | puts "\nall done\n" |