diff options
-rwxr-xr-x | test/filters/seccomp-run-files.exp | 8 | ||||
-rwxr-xr-x | test/fs/private-cache.exp | 4 |
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 | } |
40 | after 100 | 40 | after 100 |
41 | send -- "ls -l /run/firejail/mnt/seccomp | grep -c seccomp\r" | 41 | send -- "wc -l /run/firejail/mnt/seccomp/seccomp.list\r" |
42 | expect { | 42 | expect { |
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 | } |
63 | after 100 | 63 | after 100 |
64 | send -- "ls -l /run/firejail/mnt | grep -c seccomp\r" | 64 | send -- "wc -l /run/firejail/mnt/seccomp/seccomp.list\r" |
65 | expect { | 65 | expect { |
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 | } |
89 | after 100 | 89 | after 100 |
90 | send -- "ls -l /run/firejail/mnt/seccomp | grep -c seccomp\r" | 90 | send -- "wc -l /run/firejail/mnt/seccomp/seccomp.list\r" |
91 | expect { | 91 | expect { |
92 | timeout {puts "TESTING ERROR 18\n";exit} | 92 | timeout {puts "TESTING ERROR 18\n";exit} |
93 | "10" | 93 | "7" |
94 | } | 94 | } |
95 | send -- "exit\r" | 95 | send -- "exit\r" |
96 | sleep 1 | 96 | sleep 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) | |||
8 | match_max 100000 | 8 | match_max 100000 |
9 | 9 | ||
10 | send -- "mkdir --mode=700 ~/.cache\r" | 10 | send -- "mkdir --mode=700 ~/.cache\r" |
11 | after 100 | 11 | after 500 |
12 | 12 | ||
13 | send -- "touch ~/.cache/abcdefg\r" | 13 | send -- "touch ~/.cache/abcdefg\r" |
14 | after 100 | 14 | after 500 |
15 | 15 | ||
16 | if { ! [file exists ~/.cache/abcdefg] } { | 16 | if { ! [file exists ~/.cache/abcdefg] } { |
17 | puts "TESTING ERROR 0\n" | 17 | puts "TESTING ERROR 0\n" |