aboutsummaryrefslogtreecommitdiffstats
path: root/test/fs/fscheck-tmpfs.exp
diff options
context:
space:
mode:
Diffstat (limited to 'test/fs/fscheck-tmpfs.exp')
-rwxr-xr-xtest/fs/fscheck-tmpfs.exp6
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
6set timeout 10 6set timeout 10
@@ -24,7 +24,7 @@ if { ! [file exists /tmp/fjtest-dir] } {
24send -- "firejail --noprofile --tmpfs=~/fjtest-dir\r" 24send -- "firejail --noprofile --tmpfs=~/fjtest-dir\r"
25expect { 25expect {
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}
29after 500 29after 500
30 30
@@ -41,7 +41,7 @@ after 500
41send -- "firejail --noprofile --tmpfs=/tmp/fjtest-dir\r" 41send -- "firejail --noprofile --tmpfs=/tmp/fjtest-dir\r"
42expect { 42expect {
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}
46after 500 46after 500
47 47