diff options
author | startx2017 <vradu.startx@protonmail.com> | 2021-07-29 07:47:16 -0400 |
---|---|---|
committer | startx2017 <vradu.startx@protonmail.com> | 2021-07-29 07:47:16 -0400 |
commit | b4424d947838cc41fc82f1ba9a7c06b8a49f9bae (patch) | |
tree | 2ac1fd1d9f2611bd7a19cd78cc76478c2d111125 /test/fs/fs_var_tmp.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/fs_var_tmp.exp')
-rwxr-xr-x | test/fs/fs_var_tmp.exp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/test/fs/fs_var_tmp.exp b/test/fs/fs_var_tmp.exp index 004425719..c7d4b0c20 100755 --- a/test/fs/fs_var_tmp.exp +++ b/test/fs/fs_var_tmp.exp | |||
@@ -16,13 +16,13 @@ expect { | |||
16 | after 100 | 16 | after 100 |
17 | send -- "stty -echo\r" | 17 | send -- "stty -echo\r" |
18 | 18 | ||
19 | send -- "echo mytest > /var/tmp/ttt;echo done\r" | 19 | send -- "echo mytest > /var/tmp/_firejail_test_file;echo done\r" |
20 | expect { | 20 | expect { |
21 | timeout {puts "TESTING ERROR 1\n";exit} | 21 | timeout {puts "TESTING ERROR 1\n";exit} |
22 | "done" | 22 | "done" |
23 | } | 23 | } |
24 | 24 | ||
25 | send -- "cat /var/tmp/ttt;echo done\r" | 25 | send -- "cat /var/tmp/_firejail_test_file;echo done\r" |
26 | expect { | 26 | expect { |
27 | timeout {puts "TESTING ERROR 2\n";exit} | 27 | timeout {puts "TESTING ERROR 2\n";exit} |
28 | "mytest" | 28 | "mytest" |
@@ -32,13 +32,13 @@ expect { | |||
32 | "done" | 32 | "done" |
33 | } | 33 | } |
34 | 34 | ||
35 | send -- "rm /var/tmp/ttt;echo done\r" | 35 | send -- "rm /var/tmp/_firejail_test_file;echo done\r" |
36 | expect { | 36 | expect { |
37 | timeout {puts "TESTING ERROR 4\n";exit} | 37 | timeout {puts "TESTING ERROR 4\n";exit} |
38 | "done" | 38 | "done" |
39 | } | 39 | } |
40 | 40 | ||
41 | send -- "cat /var/tmp/ttt;echo done\r" | 41 | send -- "cat /var/tmp/_firejail_test_file;echo done\r" |
42 | expect { | 42 | expect { |
43 | timeout {puts "TESTING ERROR 5\n";exit} | 43 | timeout {puts "TESTING ERROR 5\n";exit} |
44 | "mytest" {puts "TESTING ERROR 6\n";exit} | 44 | "mytest" {puts "TESTING ERROR 6\n";exit} |
@@ -58,13 +58,13 @@ expect { | |||
58 | after 100 | 58 | after 100 |
59 | send -- "stty -echo\r" | 59 | send -- "stty -echo\r" |
60 | 60 | ||
61 | send -- "echo mytest > /var/tmp/ttt;echo done\r" | 61 | send -- "echo mytest > /var/tmp/_firejail_test_file;echo done\r" |
62 | expect { | 62 | expect { |
63 | timeout {puts "TESTING ERROR 8\n";exit} | 63 | timeout {puts "TESTING ERROR 8\n";exit} |
64 | "done" | 64 | "done" |
65 | } | 65 | } |
66 | 66 | ||
67 | send -- "cat /var/tmp/ttt;echo done\r" | 67 | send -- "cat /var/tmp/_firejail_test_file;echo done\r" |
68 | expect { | 68 | expect { |
69 | timeout {puts "TESTING ERROR 9\n";exit} | 69 | timeout {puts "TESTING ERROR 9\n";exit} |
70 | "mytest" | 70 | "mytest" |
@@ -74,13 +74,13 @@ expect { | |||
74 | "done" | 74 | "done" |
75 | } | 75 | } |
76 | 76 | ||
77 | send -- "rm /var/tmp/ttt;echo done\r" | 77 | send -- "rm /var/tmp/_firejail_test_file;echo done\r" |
78 | expect { | 78 | expect { |
79 | timeout {puts "TESTING ERROR 11\n";exit} | 79 | timeout {puts "TESTING ERROR 11\n";exit} |
80 | "done" | 80 | "done" |
81 | } | 81 | } |
82 | 82 | ||
83 | send -- "cat /var/tmp/ttt;echo done\r" | 83 | send -- "cat /var/tmp/_firejail_test_file;echo done\r" |
84 | expect { | 84 | expect { |
85 | timeout {puts "TESTING ERROR 12\n";exit} | 85 | timeout {puts "TESTING ERROR 12\n";exit} |
86 | "mytest" {puts "TESTING ERROR 13\n";exit} | 86 | "mytest" {puts "TESTING ERROR 13\n";exit} |