diff options
Diffstat (limited to 'test/overlay/fs-tmpfs.exp')
-rwxr-xr-x | test/overlay/fs-tmpfs.exp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/overlay/fs-tmpfs.exp b/test/overlay/fs-tmpfs.exp index 7c1b5d1df..20fa315b6 100755 --- a/test/overlay/fs-tmpfs.exp +++ b/test/overlay/fs-tmpfs.exp | |||
@@ -21,6 +21,8 @@ expect { | |||
21 | "Child process initialized" {puts "found\n"} | 21 | "Child process initialized" {puts "found\n"} |
22 | } | 22 | } |
23 | sleep 1 | 23 | sleep 1 |
24 | send -- "stty -echo\r" | ||
25 | after 100 | ||
24 | 26 | ||
25 | send -- "echo xyzxyzxyz > ~/_firejail_test_file; echo done\r" | 27 | send -- "echo xyzxyzxyz > ~/_firejail_test_file; echo done\r" |
26 | expect { | 28 | expect { |
@@ -29,6 +31,8 @@ expect { | |||
29 | } | 31 | } |
30 | after 100 | 32 | after 100 |
31 | 33 | ||
34 | send -- "stty -echo\r" | ||
35 | after 100 | ||
32 | send -- "cat ~/_firejail_test_file; echo done\r" | 36 | send -- "cat ~/_firejail_test_file; echo done\r" |
33 | expect { | 37 | expect { |
34 | timeout {puts "TESTING ERROR 3\n";exit} | 38 | timeout {puts "TESTING ERROR 3\n";exit} |
@@ -43,6 +47,8 @@ after 100 | |||
43 | send -- "exit\r" | 47 | send -- "exit\r" |
44 | sleep 1 | 48 | sleep 1 |
45 | 49 | ||
50 | send -- "stty -echo\r" | ||
51 | after 100 | ||
46 | send -- "cat ~/_firejail_test_file; echo done\r" | 52 | send -- "cat ~/_firejail_test_file; echo done\r" |
47 | expect { | 53 | expect { |
48 | timeout {puts "TESTING ERROR 5\n";exit} | 54 | timeout {puts "TESTING ERROR 5\n";exit} |