diff options
Diffstat (limited to 'test/overlay/fs.exp')
-rwxr-xr-x | test/overlay/fs.exp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/overlay/fs.exp b/test/overlay/fs.exp index f8478e78b..9debe6536 100755 --- a/test/overlay/fs.exp +++ b/test/overlay/fs.exp | |||
@@ -13,6 +13,8 @@ expect { | |||
13 | } | 13 | } |
14 | sleep 1 | 14 | sleep 1 |
15 | 15 | ||
16 | send -- "stty -echo\r" | ||
17 | after 100 | ||
16 | send -- "echo xyzxyzxyz > ~/_firejail_test_file; echo done\r" | 18 | send -- "echo xyzxyzxyz > ~/_firejail_test_file; echo done\r" |
17 | expect { | 19 | expect { |
18 | timeout {puts "TESTING ERROR 3\n";exit} | 20 | timeout {puts "TESTING ERROR 3\n";exit} |
@@ -20,6 +22,8 @@ expect { | |||
20 | } | 22 | } |
21 | after 100 | 23 | after 100 |
22 | 24 | ||
25 | send -- "stty -echo\r" | ||
26 | after 100 | ||
23 | send -- "cat ~/_firejail_test_file; echo done\r" | 27 | send -- "cat ~/_firejail_test_file; echo done\r" |
24 | expect { | 28 | expect { |
25 | timeout {puts "TESTING ERROR 4\n";exit} | 29 | timeout {puts "TESTING ERROR 4\n";exit} |
@@ -34,6 +38,8 @@ after 100 | |||
34 | send -- "exit\r" | 38 | send -- "exit\r" |
35 | sleep 2 | 39 | sleep 2 |
36 | 40 | ||
41 | send -- "stty -echo\r" | ||
42 | after 100 | ||
37 | send -- "cat ~/_firejail_test_file; echo done\r" | 43 | send -- "cat ~/_firejail_test_file; echo done\r" |
38 | expect { | 44 | expect { |
39 | timeout {puts "TESTING ERROR 5\n";exit} | 45 | timeout {puts "TESTING ERROR 5\n";exit} |