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.6.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.6.exp')
-rwxr-xr-x | test/features/2.6.exp | 31 |
1 files changed, 16 insertions, 15 deletions
diff --git a/test/features/2.6.exp b/test/features/2.6.exp index 77bd8cab0..92322d7ec 100755 --- a/test/features/2.6.exp +++ b/test/features/2.6.exp | |||
@@ -51,21 +51,22 @@ if { $overlay == "overlay" } { | |||
51 | # | 51 | # |
52 | # C | 52 | # C |
53 | # | 53 | # |
54 | send -- "firejail --noprofile --chroot=/tmp/chroot --net=eth0 --defaultgw=192.168.1.10\r" | 54 | if { $chroot == "chroot" } { |
55 | expect { | 55 | send -- "firejail --noprofile --chroot=/tmp/chroot --net=eth0 --defaultgw=192.168.1.10\r" |
56 | timeout {puts "TESTING ERROR 4\n";exit} | 56 | expect { |
57 | "Child process initialized" | 57 | timeout {puts "TESTING ERROR 4\n";exit} |
58 | } | 58 | "Child process initialized" |
59 | sleep 1 | 59 | } |
60 | 60 | sleep 1 | |
61 | send -- "netstat -rn\r" | 61 | |
62 | expect { | 62 | send -- "netstat -rn\r" |
63 | timeout {puts "TESTING ERROR 5\n";exit} | 63 | expect { |
64 | "0.0.0.0 192.168.1.10" | 64 | timeout {puts "TESTING ERROR 5\n";exit} |
65 | "0.0.0.0 192.168.1.10" | ||
66 | } | ||
67 | after 100 | ||
68 | send -- "exit\r" | ||
69 | sleep 1 | ||
65 | } | 70 | } |
66 | after 100 | ||
67 | send -- "exit\r" | ||
68 | sleep 1 | ||
69 | |||
70 | 71 | ||
71 | puts "\nall done\n" | 72 | puts "\nall done\n" |