diff options
author | netblue30 <netblue30@protonmail.com> | 2023-01-20 20:18:32 -0500 |
---|---|---|
committer | netblue30 <netblue30@protonmail.com> | 2023-01-20 20:18:32 -0500 |
commit | 52898f467a95bb31b54ca90c3de968dc3624af38 (patch) | |
tree | 39bc51ef4777d4f793595a4dde9aa2e799a8423f /test/filters | |
parent | compile fix (diff) | |
download | firejail-52898f467a95bb31b54ca90c3de968dc3624af38.tar.gz firejail-52898f467a95bb31b54ca90c3de968dc3624af38.tar.zst firejail-52898f467a95bb31b54ca90c3de968dc3624af38.zip |
small test fixes
Diffstat (limited to 'test/filters')
-rwxr-xr-x | test/filters/seccomp-run-files.exp | 8 |
1 files changed, 4 insertions, 4 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 |