diff options
Diffstat (limited to 'test/fs/fscheck-tmpfs.exp')
-rwxr-xr-x | test/fs/fscheck-tmpfs.exp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/fs/fscheck-tmpfs.exp b/test/fs/fscheck-tmpfs.exp index 8dd08aa72..223bb63ba 100755 --- a/test/fs/fscheck-tmpfs.exp +++ b/test/fs/fscheck-tmpfs.exp | |||
@@ -1,6 +1,6 @@ | |||
1 | #!/usr/bin/expect -f | 1 | #!/usr/bin/expect -f |
2 | # This file is part of Firejail project | 2 | # This file is part of Firejail project |
3 | # Copyright (C) 2014-2021 Firejail Authors | 3 | # Copyright (C) 2014-2022 Firejail Authors |
4 | # License GPL v2 | 4 | # License GPL v2 |
5 | 5 | ||
6 | set timeout 10 | 6 | set timeout 10 |
@@ -24,7 +24,7 @@ if { ! [file exists /tmp/fjtest-dir] } { | |||
24 | send -- "firejail --noprofile --tmpfs=~/fjtest-dir\r" | 24 | send -- "firejail --noprofile --tmpfs=~/fjtest-dir\r" |
25 | expect { | 25 | expect { |
26 | timeout {puts "TESTING ERROR 3\n";exit} | 26 | timeout {puts "TESTING ERROR 3\n";exit} |
27 | "Child process initialized" | 27 | -re "Child process initialized in \[0-9\]+.\[0-9\]+ ms" |
28 | } | 28 | } |
29 | after 500 | 29 | after 500 |
30 | 30 | ||
@@ -41,7 +41,7 @@ after 500 | |||
41 | send -- "firejail --noprofile --tmpfs=/tmp/fjtest-dir\r" | 41 | send -- "firejail --noprofile --tmpfs=/tmp/fjtest-dir\r" |
42 | expect { | 42 | expect { |
43 | timeout {puts "TESTING ERROR 5\n";exit} | 43 | timeout {puts "TESTING ERROR 5\n";exit} |
44 | "Error" | 44 | "Warning: you are not allowed to mount a tmpfs" |
45 | } | 45 | } |
46 | after 500 | 46 | after 500 |
47 | 47 | ||