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_dev_shm.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_dev_shm.exp')
-rwxr-xr-x | test/fs/fs_dev_shm.exp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/test/fs/fs_dev_shm.exp b/test/fs/fs_dev_shm.exp index 04e6e2383..5f0503494 100755 --- a/test/fs/fs_dev_shm.exp +++ b/test/fs/fs_dev_shm.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 > /dev/shm/ttt;echo done\r" | 19 | send -- "echo mytest > /dev/shm/_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 /dev/shm/ttt;echo done\r" | 25 | send -- "cat /dev/shm/_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 /dev/shm/ttt;echo done\r" | 35 | send -- "rm /dev/shm/_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 /dev/shm/ttt;echo done\r" | 41 | send -- "cat /dev/shm/_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} |
@@ -57,13 +57,13 @@ expect { | |||
57 | after 100 | 57 | after 100 |
58 | send -- "stty -echo\r" | 58 | send -- "stty -echo\r" |
59 | 59 | ||
60 | send -- "echo mytest > /dev/shm/ttt;echo done\r" | 60 | send -- "echo mytest > /dev/shm/_firejail_test_file;echo done\r" |
61 | expect { | 61 | expect { |
62 | timeout {puts "TESTING ERROR 8\n";exit} | 62 | timeout {puts "TESTING ERROR 8\n";exit} |
63 | "done" | 63 | "done" |
64 | } | 64 | } |
65 | 65 | ||
66 | send -- "cat /dev/shm/ttt;echo done\r" | 66 | send -- "cat /dev/shm/_firejail_test_file;echo done\r" |
67 | expect { | 67 | expect { |
68 | timeout {puts "TESTING ERROR 9\n";exit} | 68 | timeout {puts "TESTING ERROR 9\n";exit} |
69 | "mytest" | 69 | "mytest" |
@@ -73,13 +73,13 @@ expect { | |||
73 | "done" | 73 | "done" |
74 | } | 74 | } |
75 | 75 | ||
76 | send -- "rm /dev/shm/ttt;echo done\r" | 76 | send -- "rm /dev/shm/_firejail_test_file;echo done\r" |
77 | expect { | 77 | expect { |
78 | timeout {puts "TESTING ERROR 11\n";exit} | 78 | timeout {puts "TESTING ERROR 11\n";exit} |
79 | "done" | 79 | "done" |
80 | } | 80 | } |
81 | 81 | ||
82 | send -- "cat /dev/shm/ttt;echo done\r" | 82 | send -- "cat /dev/shm/_firejail_test_file;echo done\r" |
83 | expect { | 83 | expect { |
84 | timeout {puts "TESTING ERROR 12\n";exit} | 84 | timeout {puts "TESTING ERROR 12\n";exit} |
85 | "mytest" {puts "TESTING ERROR 13\n";exit} | 85 | "mytest" {puts "TESTING ERROR 13\n";exit} |