aboutsummaryrefslogtreecommitdiffstats
path: root/test/fs/fs_dev_shm.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_dev_shm.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_dev_shm.exp')
-rwxr-xr-xtest/fs/fs_dev_shm.exp16
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 {
16after 100 16after 100
17send -- "stty -echo\r" 17send -- "stty -echo\r"
18 18
19send -- "echo mytest > /dev/shm/ttt;echo done\r" 19send -- "echo mytest > /dev/shm/_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 /dev/shm/ttt;echo done\r" 25send -- "cat /dev/shm/_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 /dev/shm/ttt;echo done\r" 35send -- "rm /dev/shm/_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 /dev/shm/ttt;echo done\r" 41send -- "cat /dev/shm/_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}
@@ -57,13 +57,13 @@ expect {
57after 100 57after 100
58send -- "stty -echo\r" 58send -- "stty -echo\r"
59 59
60send -- "echo mytest > /dev/shm/ttt;echo done\r" 60send -- "echo mytest > /dev/shm/_firejail_test_file;echo done\r"
61expect { 61expect {
62 timeout {puts "TESTING ERROR 8\n";exit} 62 timeout {puts "TESTING ERROR 8\n";exit}
63 "done" 63 "done"
64} 64}
65 65
66send -- "cat /dev/shm/ttt;echo done\r" 66send -- "cat /dev/shm/_firejail_test_file;echo done\r"
67expect { 67expect {
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
76send -- "rm /dev/shm/ttt;echo done\r" 76send -- "rm /dev/shm/_firejail_test_file;echo done\r"
77expect { 77expect {
78 timeout {puts "TESTING ERROR 11\n";exit} 78 timeout {puts "TESTING ERROR 11\n";exit}
79 "done" 79 "done"
80} 80}
81 81
82send -- "cat /dev/shm/ttt;echo done\r" 82send -- "cat /dev/shm/_firejail_test_file;echo done\r"
83expect { 83expect {
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}