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.8.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.8.exp')
-rwxr-xr-x | test/features/1.8.exp | 40 |
1 files changed, 21 insertions, 19 deletions
diff --git a/test/features/1.8.exp b/test/features/1.8.exp index 293864671..29e23c885 100755 --- a/test/features/1.8.exp +++ b/test/features/1.8.exp | |||
@@ -65,26 +65,28 @@ if { $overlay == "overlay" } { | |||
65 | # | 65 | # |
66 | # C | 66 | # C |
67 | # | 67 | # |
68 | send -- "firejail --noprofile --chroot=/tmp/chroot\r" | 68 | if { $chroot == "chroot" } { |
69 | expect { | 69 | send -- "firejail --noprofile --chroot=/tmp/chroot\r" |
70 | timeout {puts "TESTING ERROR 4\n";exit} | 70 | expect { |
71 | "Child process initialized" | 71 | timeout {puts "TESTING ERROR 4\n";exit} |
72 | } | 72 | "Child process initialized" |
73 | sleep 1 | 73 | } |
74 | send -- "ls /etc/firejail\r" | 74 | sleep 1 |
75 | expect { | 75 | send -- "ls /etc/firejail\r" |
76 | timeout {puts "TESTING ERROR 5\n";exit} | 76 | expect { |
77 | "Permission denied" | 77 | timeout {puts "TESTING ERROR 5\n";exit} |
78 | } | 78 | "Permission denied" |
79 | after 100 | 79 | } |
80 | send -- "ls ~/.config/firejail\r" | 80 | after 100 |
81 | expect { | 81 | send -- "ls ~/.config/firejail\r" |
82 | timeout {puts "TESTING ERROR 5.1\n";exit} | 82 | expect { |
83 | "Permission denied" | 83 | timeout {puts "TESTING ERROR 5.1\n";exit} |
84 | "Permission denied" | ||
85 | } | ||
86 | after 100 | ||
87 | send -- "exit\r" | ||
88 | sleep 1 | ||
84 | } | 89 | } |
85 | after 100 | ||
86 | send -- "exit\r" | ||
87 | sleep 1 | ||
88 | 90 | ||
89 | 91 | ||
90 | puts "\nall done\n" | 92 | puts "\nall done\n" |