aboutsummaryrefslogtreecommitdiffstats
path: root/test/fs/fs_var_tmp.exp
diff options
context:
space:
mode:
authorLibravatar startx2017 <vradu.startx@protonmail.com>2021-07-29 07:47:16 -0400
committerLibravatar startx2017 <vradu.startx@protonmail.com>2021-07-29 07:47:16 -0400
commitb4424d947838cc41fc82f1ba9a7c06b8a49f9bae (patch)
tree2ac1fd1d9f2611bd7a19cd78cc76478c2d111125 /test/fs/fs_var_tmp.exp
parentFixup: Fix Firefox 'Profile not found' - whitelist /run/user/xxx/firefox (diff)
downloadfirejail-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-xtest/fs/fs_var_tmp.exp16
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 {
16after 100 16after 100
17send -- "stty -echo\r" 17send -- "stty -echo\r"
18 18
19send -- "echo mytest > /var/tmp/ttt;echo done\r" 19send -- "echo mytest > /var/tmp/_firejail_test_file;echo done\r"
20expect { 20expect {
21 timeout {puts "TESTING ERROR 1\n";exit} 21 timeout {puts "TESTING ERROR 1\n";exit}
22 "done" 22 "done"
23} 23}
24 24
25send -- "cat /var/tmp/ttt;echo done\r" 25send -- "cat /var/tmp/_firejail_test_file;echo done\r"
26expect { 26expect {
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
35send -- "rm /var/tmp/ttt;echo done\r" 35send -- "rm /var/tmp/_firejail_test_file;echo done\r"
36expect { 36expect {
37 timeout {puts "TESTING ERROR 4\n";exit} 37 timeout {puts "TESTING ERROR 4\n";exit}
38 "done" 38 "done"
39} 39}
40 40
41send -- "cat /var/tmp/ttt;echo done\r" 41send -- "cat /var/tmp/_firejail_test_file;echo done\r"
42expect { 42expect {
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 {
58after 100 58after 100
59send -- "stty -echo\r" 59send -- "stty -echo\r"
60 60
61send -- "echo mytest > /var/tmp/ttt;echo done\r" 61send -- "echo mytest > /var/tmp/_firejail_test_file;echo done\r"
62expect { 62expect {
63 timeout {puts "TESTING ERROR 8\n";exit} 63 timeout {puts "TESTING ERROR 8\n";exit}
64 "done" 64 "done"
65} 65}
66 66
67send -- "cat /var/tmp/ttt;echo done\r" 67send -- "cat /var/tmp/_firejail_test_file;echo done\r"
68expect { 68expect {
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
77send -- "rm /var/tmp/ttt;echo done\r" 77send -- "rm /var/tmp/_firejail_test_file;echo done\r"
78expect { 78expect {
79 timeout {puts "TESTING ERROR 11\n";exit} 79 timeout {puts "TESTING ERROR 11\n";exit}
80 "done" 80 "done"
81} 81}
82 82
83send -- "cat /var/tmp/ttt;echo done\r" 83send -- "cat /var/tmp/_firejail_test_file;echo done\r"
84expect { 84expect {
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}