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.10.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.10.exp')
-rwxr-xr-x | test/features/1.10.exp | 32 |
1 files changed, 17 insertions, 15 deletions
diff --git a/test/features/1.10.exp b/test/features/1.10.exp index 96e3c38d1..978b0a594 100755 --- a/test/features/1.10.exp +++ b/test/features/1.10.exp | |||
@@ -54,22 +54,24 @@ if { $overlay == "overlay" } { | |||
54 | # | 54 | # |
55 | # C | 55 | # C |
56 | # | 56 | # |
57 | send -- "firejail --noprofile --chroot=/tmp/chroot\r" | 57 | if { $chroot == "chroot" } { |
58 | expect { | 58 | send -- "firejail --noprofile --chroot=/tmp/chroot\r" |
59 | timeout {puts "TESTING ERROR 4\n";exit} | 59 | expect { |
60 | "Child process initialized" | 60 | timeout {puts "TESTING ERROR 4\n";exit} |
61 | } | 61 | "Child process initialized" |
62 | sleep 1 | 62 | } |
63 | 63 | sleep 1 | |
64 | send -- "ls -l /selinux\r" | 64 | |
65 | expect { | 65 | send -- "ls -l /selinux\r" |
66 | timeout {puts "TESTING ERROR 5\n";exit} | 66 | expect { |
67 | "Permission denied" {puts "denied\n"} | 67 | timeout {puts "TESTING ERROR 5\n";exit} |
68 | "No such file or directory" {puts "no file\n"} | 68 | "Permission denied" {puts "denied\n"} |
69 | "No such file or directory" {puts "no file\n"} | ||
70 | } | ||
71 | after 100 | ||
72 | send -- "exit\r" | ||
73 | sleep 1 | ||
69 | } | 74 | } |
70 | after 100 | ||
71 | send -- "exit\r" | ||
72 | sleep 1 | ||
73 | 75 | ||
74 | 76 | ||
75 | puts "\nall done\n" | 77 | puts "\nall done\n" |