diff options
author | netblue30 <netblue30@yahoo.com> | 2017-10-30 08:42:01 -0400 |
---|---|---|
committer | netblue30 <netblue30@yahoo.com> | 2017-10-30 08:42:01 -0400 |
commit | d0664e2db83ce2c4815dcdb6f84d957a9a880673 (patch) | |
tree | 0cddbbc4d5d29291efe090173e5a526f225d8e17 /test/fs/fs_dev_shm.exp | |
parent | Merge branch 'master' of http://github.com/netblue30/firejail (diff) | |
download | firejail-d0664e2db83ce2c4815dcdb6f84d957a9a880673.tar.gz firejail-d0664e2db83ce2c4815dcdb6f84d957a9a880673.tar.zst firejail-d0664e2db83ce2c4815dcdb6f84d957a9a880673.zip |
testing
Diffstat (limited to 'test/fs/fs_dev_shm.exp')
-rwxr-xr-x | test/fs/fs_dev_shm.exp | 9 |
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 | } |
16 | sleep 1 | 16 | after 100 |
17 | send -- "stty -echo\r" | ||
17 | 18 | ||
18 | send -- "echo mytest > /dev/shm/ttt;echo done\r" | 19 | send -- "echo mytest > /dev/shm/ttt;echo done\r" |
19 | expect { | 20 | expect { |
@@ -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 | 47 | after 100 | |
47 | sleep 1 | ||
48 | send -- "exit\r" | 48 | send -- "exit\r" |
49 | sleep 1 | 49 | sleep 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 | } |
57 | sleep 1 | 57 | after 100 |
58 | send -- "stty -echo\r" | ||
58 | 59 | ||
59 | send -- "echo mytest > /dev/shm/ttt;echo done\r" | 60 | send -- "echo mytest > /dev/shm/ttt;echo done\r" |
60 | expect { | 61 | expect { |