diff options
author | 2021-07-29 07:47:16 -0400 | |
---|---|---|
committer | 2021-07-29 07:47:16 -0400 | |
commit | b4424d947838cc41fc82f1ba9a7c06b8a49f9bae (patch) | |
tree | 2ac1fd1d9f2611bd7a19cd78cc76478c2d111125 /test/fs/whitelist-double.exp | |
parent | Fixup: Fix Firefox 'Profile not found' - whitelist /run/user/xxx/firefox (diff) | |
download | firejail-b4424d947838cc41fc82f1ba9a7c06b8a49f9bae.tar.gz firejail-b4424d947838cc41fc82f1ba9a7c06b8a49f9bae.tar.zst firejail-b4424d947838cc41fc82f1ba9a7c06b8a49f9bae.zip |
rework make test-fs
Diffstat (limited to 'test/fs/whitelist-double.exp')
-rwxr-xr-x | test/fs/whitelist-double.exp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/test/fs/whitelist-double.exp b/test/fs/whitelist-double.exp index 5ce9d8ad7..e653517a6 100755 --- a/test/fs/whitelist-double.exp +++ b/test/fs/whitelist-double.exp | |||
@@ -7,17 +7,17 @@ set timeout 10 | |||
7 | spawn $env(SHELL) | 7 | spawn $env(SHELL) |
8 | match_max 100000 | 8 | match_max 100000 |
9 | 9 | ||
10 | send -- "echo 123 > /tmp/firejal-deleteme\r" | 10 | send -- "echo 123 > /tmp/_firejail_test_file\r" |
11 | sleep 1 | 11 | sleep 1 |
12 | 12 | ||
13 | send -- "firejail --whitelist=/tmp/firejal-deleteme --whitelist=/tmp/firejal-deleteme\r" | 13 | send -- "firejail --whitelist=/tmp/_firejail_test_file --whitelist=/tmp/_firejail_test_file\r" |
14 | expect { | 14 | expect { |
15 | timeout {puts "TESTING ERROR 0\n";exit} | 15 | timeout {puts "TESTING ERROR 0\n";exit} |
16 | "Child process initialized" | 16 | "Child process initialized" |
17 | } | 17 | } |
18 | sleep 1 | 18 | sleep 1 |
19 | 19 | ||
20 | send -- "cat /tmp/firejal-deleteme\r" | 20 | send -- "cat /tmp/_firejail_test_file\r" |
21 | expect { | 21 | expect { |
22 | timeout {puts "TESTING ERROR 1\n";exit} | 22 | timeout {puts "TESTING ERROR 1\n";exit} |
23 | "123" | 23 | "123" |
@@ -26,13 +26,13 @@ expect { | |||
26 | send -- "exit\r" | 26 | send -- "exit\r" |
27 | sleep 1 | 27 | sleep 1 |
28 | 28 | ||
29 | send -- "cat /tmp/firejal-deleteme\r" | 29 | send -- "cat /tmp/_firejail_test_file\r" |
30 | expect { | 30 | expect { |
31 | timeout {puts "TESTING ERROR 2\n";exit} | 31 | timeout {puts "TESTING ERROR 2\n";exit} |
32 | "123" | 32 | "123" |
33 | } | 33 | } |
34 | 34 | ||
35 | send -- "rm -v /tmp/firejal-deleteme\r" | 35 | send -- "rm -v /tmp/_firejail_test_file\r" |
36 | expect { | 36 | expect { |
37 | timeout {puts "TESTING ERROR 3\n";exit} | 37 | timeout {puts "TESTING ERROR 3\n";exit} |
38 | "removed" | 38 | "removed" |