aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rwxr-xr-xtest/filters/seccomp-run-files.exp8
-rwxr-xr-xtest/fs/private-cache.exp4
2 files changed, 6 insertions, 6 deletions
diff --git a/test/filters/seccomp-run-files.exp b/test/filters/seccomp-run-files.exp
index 95258ad4a..959eb743e 100755
--- a/test/filters/seccomp-run-files.exp
+++ b/test/filters/seccomp-run-files.exp
@@ -38,7 +38,7 @@ expect {
38 "Installing /run/firejail/mnt/seccomp/seccomp.protocol seccomp filter" 38 "Installing /run/firejail/mnt/seccomp/seccomp.protocol seccomp filter"
39} 39}
40after 100 40after 100
41send -- "ls -l /run/firejail/mnt/seccomp | grep -c seccomp\r" 41send -- "wc -l /run/firejail/mnt/seccomp/seccomp.list\r"
42expect { 42expect {
43 timeout {puts "TESTING ERROR 8\n";exit} 43 timeout {puts "TESTING ERROR 8\n";exit}
44 "3" 44 "3"
@@ -61,7 +61,7 @@ expect {
61 "monitoring" 61 "monitoring"
62} 62}
63after 100 63after 100
64send -- "ls -l /run/firejail/mnt | grep -c seccomp\r" 64send -- "wc -l /run/firejail/mnt/seccomp/seccomp.list\r"
65expect { 65expect {
66 timeout {puts "TESTING ERROR 13\n";exit} 66 timeout {puts "TESTING ERROR 13\n";exit}
67 "4" 67 "4"
@@ -87,10 +87,10 @@ expect {
87 "/run/firejail/mnt/seccomp/seccomp.protocol seccomp filter" 87 "/run/firejail/mnt/seccomp/seccomp.protocol seccomp filter"
88} 88}
89after 100 89after 100
90send -- "ls -l /run/firejail/mnt/seccomp | grep -c seccomp\r" 90send -- "wc -l /run/firejail/mnt/seccomp/seccomp.list\r"
91expect { 91expect {
92 timeout {puts "TESTING ERROR 18\n";exit} 92 timeout {puts "TESTING ERROR 18\n";exit}
93 "10" 93 "7"
94} 94}
95send -- "exit\r" 95send -- "exit\r"
96sleep 1 96sleep 1
diff --git a/test/fs/private-cache.exp b/test/fs/private-cache.exp
index f21d799b4..2764c5608 100755
--- a/test/fs/private-cache.exp
+++ b/test/fs/private-cache.exp
@@ -8,10 +8,10 @@ spawn $env(SHELL)
8match_max 100000 8match_max 100000
9 9
10send -- "mkdir --mode=700 ~/.cache\r" 10send -- "mkdir --mode=700 ~/.cache\r"
11after 100 11after 500
12 12
13send -- "touch ~/.cache/abcdefg\r" 13send -- "touch ~/.cache/abcdefg\r"
14after 100 14after 500
15 15
16if { ! [file exists ~/.cache/abcdefg] } { 16if { ! [file exists ~/.cache/abcdefg] } {
17 puts "TESTING ERROR 0\n" 17 puts "TESTING ERROR 0\n"