aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar smitsohu <smitsohu@gmail.com>2020-11-19 16:36:55 +0100
committerLibravatar GitHub <noreply@github.com>2020-11-19 16:36:55 +0100
commit5465916a4dc44d6d311a5d5381fc5b366792bb5a (patch)
tree3b50027e08c74d7baefce49574df350744db2370
parenttmpfs testing (diff)
downloadfirejail-5465916a4dc44d6d311a5d5381fc5b366792bb5a.tar.gz
firejail-5465916a4dc44d6d311a5d5381fc5b366792bb5a.tar.zst
firejail-5465916a4dc44d6d311a5d5381fc5b366792bb5a.zip
tmpfs testing
-rwxr-xr-xtest/fs/fscheck-tmpfs.exp8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/fs/fscheck-tmpfs.exp b/test/fs/fscheck-tmpfs.exp
index d40b45ece..818549fe2 100755
--- a/test/fs/fscheck-tmpfs.exp
+++ b/test/fs/fscheck-tmpfs.exp
@@ -9,14 +9,14 @@ match_max 100000
9 9
10send -- "mkdir -p ~/fjtest-dir/fjtest-dir\r" 10send -- "mkdir -p ~/fjtest-dir/fjtest-dir\r"
11after 100 11after 100
12send -- "mkdir -p /tmp/fjtest-dir/fjtest-dir\r" 12send -- "mkdir /tmp/fjtest-dir\r"
13after 100 13after 100
14 14
15if { ! [file exists ~/fjtest-dir/fjtest-dir] } { 15if { ! [file exists ~/fjtest-dir/fjtest-dir] } {
16 puts "TESTING ERROR 1\n" 16 puts "TESTING ERROR 1\n"
17 exit 17 exit
18} 18}
19if { ! [file exists /tmp/fjtest-dir/fjtest-dir] } { 19if { ! [file exists /tmp/fjtest-dir] } {
20 puts "TESTING ERROR 2\n" 20 puts "TESTING ERROR 2\n"
21 exit 21 exit
22} 22}
@@ -28,10 +28,10 @@ expect {
28} 28}
29after 500 29after 500
30 30
31send -- "ls -l ~/fjtest-dir\r" 31send -- "ls ~/fjtest-dir/fjtest-dir\r"
32expect { 32expect {
33 timeout {puts "TESTING ERROR 4\n";exit} 33 timeout {puts "TESTING ERROR 4\n";exit}
34 "total 0" 34 "No such file or directory"
35} 35}
36after 500 36after 500
37 37