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/3.2.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/3.2.exp')
-rwxr-xr-x | test/features/3.2.exp | 34 |
1 files changed, 18 insertions, 16 deletions
diff --git a/test/features/3.2.exp b/test/features/3.2.exp index 49d8d27c1..bcb4b48b0 100755 --- a/test/features/3.2.exp +++ b/test/features/3.2.exp | |||
@@ -53,23 +53,25 @@ if { $overlay == "overlay" } { | |||
53 | # | 53 | # |
54 | # C | 54 | # C |
55 | # | 55 | # |
56 | send -- "rm -f /tmp/chroot/home/netblue/.config/firejail-test-file\r" | 56 | if { $chroot == "chroot" } { |
57 | sleep 1 | 57 | send -- "rm -f /tmp/chroot/home/netblue/.config/firejail-test-file\r" |
58 | send -- "firejail --noprofile --chroot=/tmp/chroot --read-only=/home/netblue/.config\r" | 58 | sleep 1 |
59 | expect { | 59 | send -- "firejail --noprofile --chroot=/tmp/chroot --read-only=/home/netblue/.config\r" |
60 | timeout {puts "TESTING ERROR 4\n";exit} | 60 | expect { |
61 | "Child process initialized" | 61 | timeout {puts "TESTING ERROR 4\n";exit} |
62 | } | 62 | "Child process initialized" |
63 | sleep 1 | 63 | } |
64 | 64 | sleep 1 | |
65 | send -- "touch ~/.config/firejail-test-file\r" | 65 | |
66 | expect { | 66 | send -- "touch ~/.config/firejail-test-file\r" |
67 | timeout {puts "TESTING ERROR 5\n";exit} | 67 | expect { |
68 | "Read-only file system" | 68 | timeout {puts "TESTING ERROR 5\n";exit} |
69 | "Read-only file system" | ||
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" |