aboutsummaryrefslogtreecommitdiffstats
path: root/test/fs/fs_dev_shm.exp
diff options
context:
space:
mode:
authorLibravatar netblue30 <netblue30@yahoo.com>2017-10-30 08:42:01 -0400
committerLibravatar netblue30 <netblue30@yahoo.com>2017-10-30 08:42:01 -0400
commitd0664e2db83ce2c4815dcdb6f84d957a9a880673 (patch)
tree0cddbbc4d5d29291efe090173e5a526f225d8e17 /test/fs/fs_dev_shm.exp
parentMerge branch 'master' of http://github.com/netblue30/firejail (diff)
downloadfirejail-d0664e2db83ce2c4815dcdb6f84d957a9a880673.tar.gz
firejail-d0664e2db83ce2c4815dcdb6f84d957a9a880673.tar.zst
firejail-d0664e2db83ce2c4815dcdb6f84d957a9a880673.zip
testing
Diffstat (limited to 'test/fs/fs_dev_shm.exp')
-rwxr-xr-xtest/fs/fs_dev_shm.exp9
1 files changed, 5 insertions, 4 deletions
diff --git a/test/fs/fs_dev_shm.exp b/test/fs/fs_dev_shm.exp
index 1d810084c..405d32396 100755
--- a/test/fs/fs_dev_shm.exp
+++ b/test/fs/fs_dev_shm.exp
@@ -13,7 +13,8 @@ expect {
13 timeout {puts "TESTING ERROR 0\n";exit} 13 timeout {puts "TESTING ERROR 0\n";exit}
14 "Child process initialized" 14 "Child process initialized"
15} 15}
16sleep 1 16after 100
17send -- "stty -echo\r"
17 18
18send -- "echo mytest > /dev/shm/ttt;echo done\r" 19send -- "echo mytest > /dev/shm/ttt;echo done\r"
19expect { 20expect {
@@ -43,8 +44,7 @@ expect {
43 "mytest" {puts "TESTING ERROR 6\n";exit} 44 "mytest" {puts "TESTING ERROR 6\n";exit}
44 "done" 45 "done"
45} 46}
46 47after 100
47sleep 1
48send -- "exit\r" 48send -- "exit\r"
49sleep 1 49sleep 1
50 50
@@ -54,7 +54,8 @@ expect {
54 timeout {puts "TESTING ERROR 7\n";exit} 54 timeout {puts "TESTING ERROR 7\n";exit}
55 "Child process initialized" 55 "Child process initialized"
56} 56}
57sleep 1 57after 100
58send -- "stty -echo\r"
58 59
59send -- "echo mytest > /dev/shm/ttt;echo done\r" 60send -- "echo mytest > /dev/shm/ttt;echo done\r"
60expect { 61expect {