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/1.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/1.6.exp')
-rwxr-xr-x | test/features/1.6.exp | 30 |
1 files changed, 16 insertions, 14 deletions
diff --git a/test/features/1.6.exp b/test/features/1.6.exp index 8ed20fa46..4e3b2e74c 100755 --- a/test/features/1.6.exp +++ b/test/features/1.6.exp | |||
@@ -52,21 +52,23 @@ if { $overlay == "overlay" } { | |||
52 | # | 52 | # |
53 | # C | 53 | # C |
54 | # | 54 | # |
55 | send -- "firejail --noprofile --chroot=/tmp/chroot\r" | 55 | if { $chroot == "chroot" } { |
56 | expect { | 56 | send -- "firejail --noprofile --chroot=/tmp/chroot\r" |
57 | timeout {puts "TESTING ERROR 4\n";exit} | 57 | expect { |
58 | "Child process initialized" | 58 | timeout {puts "TESTING ERROR 4\n";exit} |
59 | } | 59 | "Child process initialized" |
60 | sleep 1 | 60 | } |
61 | 61 | sleep 1 | |
62 | send -- "ls -l /var/log/syslog | wc -l\r" | 62 | |
63 | expect { | 63 | send -- "ls -l /var/log/syslog | wc -l\r" |
64 | timeout {puts "TESTING ERROR 5\n";exit} | 64 | expect { |
65 | "0" | 65 | timeout {puts "TESTING ERROR 5\n";exit} |
66 | "0" | ||
67 | } | ||
68 | after 100 | ||
69 | send -- "exit\r" | ||
70 | sleep 1 | ||
66 | } | 71 | } |
67 | after 100 | ||
68 | send -- "exit\r" | ||
69 | sleep 1 | ||
70 | 72 | ||
71 | 73 | ||
72 | puts "\nall done\n" | 74 | puts "\nall done\n" |