diff options
author | netblue30 <netblue30@yahoo.com> | 2016-05-05 18:16:03 -0400 |
---|---|---|
committer | netblue30 <netblue30@yahoo.com> | 2016-05-05 18:16:03 -0400 |
commit | f8ad9c20bbbc5018927598c23532e33851b74d60 (patch) | |
tree | fce89e52f67388c228039d5c9efdae8d069f2813 /test/fs/private-whitelist.exp | |
parent | Merge pull request #499 from reinerh/master (diff) | |
download | firejail-f8ad9c20bbbc5018927598c23532e33851b74d60.tar.gz firejail-f8ad9c20bbbc5018927598c23532e33851b74d60.tar.zst firejail-f8ad9c20bbbc5018927598c23532e33851b74d60.zip |
test fixes
Diffstat (limited to 'test/fs/private-whitelist.exp')
-rwxr-xr-x | test/fs/private-whitelist.exp | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/test/fs/private-whitelist.exp b/test/fs/private-whitelist.exp index a3d60369a..4dadeacb1 100755 --- a/test/fs/private-whitelist.exp +++ b/test/fs/private-whitelist.exp | |||
@@ -12,26 +12,28 @@ expect { | |||
12 | timeout {puts "TESTING ERROR 1\n";exit} | 12 | timeout {puts "TESTING ERROR 1\n";exit} |
13 | "Child process initialized" | 13 | "Child process initialized" |
14 | } | 14 | } |
15 | sleep 1 | 15 | after 100 |
16 | 16 | ||
17 | send -- "ls -al /tmp\r" | 17 | send -- "ls -al /tmp\r" |
18 | expect { | 18 | expect { |
19 | timeout {puts "TESTING ERROR 2\n";exit} | 19 | timeout {puts "TESTING ERROR 2\n";exit} |
20 | ".X11-unix" | 20 | ".X11-unix" |
21 | } | 21 | } |
22 | sleep 1 | 22 | after 100 |
23 | 23 | ||
24 | send -- "ls -a /tmp | wc -l\r" | 24 | send -- "ls -a /tmp | wc -l\r" |
25 | expect { | 25 | expect { |
26 | timeout {puts "TESTING ERROR 3\n";exit} | 26 | timeout {puts "TESTING ERROR 3\n";exit} |
27 | "3" | 27 | "3" |
28 | } | 28 | } |
29 | sleep 1 | 29 | after 100 |
30 | 30 | ||
31 | send -- "ls -a ~ | wc -l\r" | 31 | send -- "ls -a ~ | wc -l\r" |
32 | expect { | 32 | expect { |
33 | timeout {puts "TESTING ERROR 4\n";exit} | 33 | timeout {puts "TESTING ERROR 4\n";exit} |
34 | "5" | 34 | "3" {puts "3\n"} |
35 | "4" {puts "4\n"} | ||
36 | "5" {puts "5\n"} | ||
35 | } | 37 | } |
36 | 38 | ||
37 | sleep 1 | 39 | sleep 1 |