aboutsummaryrefslogtreecommitdiffstats
path: root/test/fs/fs_var_lock.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_var_lock.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_var_lock.exp')
-rwxr-xr-xtest/fs/fs_var_lock.exp8
1 files changed, 5 insertions, 3 deletions
diff --git a/test/fs/fs_var_lock.exp b/test/fs/fs_var_lock.exp
index 919b75f34..63893b855 100755
--- a/test/fs/fs_var_lock.exp
+++ b/test/fs/fs_var_lock.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 > /var/lock/ttt;echo done\r" 19send -- "echo mytest > /var/lock/ttt;echo done\r"
19expect { 20expect {
@@ -44,7 +45,7 @@ expect {
44 "done" 45 "done"
45} 46}
46 47
47sleep 1 48after 100
48send -- "exit\r" 49send -- "exit\r"
49sleep 1 50sleep 1
50 51
@@ -54,7 +55,8 @@ expect {
54 timeout {puts "TESTING ERROR 7\n";exit} 55 timeout {puts "TESTING ERROR 7\n";exit}
55 "Child process initialized" 56 "Child process initialized"
56} 57}
57sleep 1 58after 100
59send -- "stty -echo\r"
58 60
59send -- "echo mytest > /var/lock/ttt;echo done\r" 61send -- "echo mytest > /var/lock/ttt;echo done\r"
60expect { 62expect {