diff options
author | 2015-12-23 16:42:58 -0500 | |
---|---|---|
committer | 2015-12-23 16:42:58 -0500 | |
commit | dda687ed2a748cb262b317e0c7fdf4a9c4ae2d31 (patch) | |
tree | 144fba235fec87d74deff110aaa71891174b3eef /test/features/3.1.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.1.exp')
-rwxr-xr-x | test/features/3.1.exp | 34 |
1 files changed, 18 insertions, 16 deletions
diff --git a/test/features/3.1.exp b/test/features/3.1.exp index 13ec1b6be..3ee04c4de 100755 --- a/test/features/3.1.exp +++ b/test/features/3.1.exp | |||
@@ -53,23 +53,25 @@ if { $overlay == "overlay" } { | |||
53 | # | 53 | # |
54 | # C | 54 | # C |
55 | # | 55 | # |
56 | send -- "touch /tmp/chroot/home/netblue/.config/firejail-test-file\r" | 56 | if { $chroot == "chroot" } { |
57 | sleep 1 | 57 | send -- "touch /tmp/chroot/home/netblue/.config/firejail-test-file\r" |
58 | send -- "firejail --noprofile --chroot=/tmp/chroot --tmpfs=/home/netblue/.config\r" | 58 | sleep 1 |
59 | expect { | 59 | send -- "firejail --noprofile --chroot=/tmp/chroot --tmpfs=/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 -- "ls ~/.config | wc -l\r" | 65 | |
66 | expect { | 66 | send -- "ls ~/.config | wc -l\r" |
67 | timeout {puts "TESTING ERROR 5\n";exit} | 67 | expect { |
68 | "0" | 68 | timeout {puts "TESTING ERROR 5\n";exit} |
69 | "0" | ||
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" |