diff options
author | Reiner Herrmann <reiner@reiner-h.de> | 2018-05-25 19:08:11 +0200 |
---|---|---|
committer | Reiner Herrmann <reiner@reiner-h.de> | 2018-05-25 20:17:39 +0200 |
commit | 4d638f132445224a9b3804ca838f9438702a06d2 (patch) | |
tree | cb14d516542f8e564801fe64fd14a64ad4db1c8d /test/filters/seccomp-run-files.exp | |
parent | tests: notify about end of test (diff) | |
download | firejail-4d638f132445224a9b3804ca838f9438702a06d2.tar.gz firejail-4d638f132445224a9b3804ca838f9438702a06d2.tar.zst firejail-4d638f132445224a9b3804ca838f9438702a06d2.zip |
tests: there are two files (including postexec)
Diffstat (limited to 'test/filters/seccomp-run-files.exp')
-rwxr-xr-x | test/filters/seccomp-run-files.exp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/test/filters/seccomp-run-files.exp b/test/filters/seccomp-run-files.exp index a72b9aef7..7c436b664 100755 --- a/test/filters/seccomp-run-files.exp +++ b/test/filters/seccomp-run-files.exp | |||
@@ -21,7 +21,7 @@ expect { | |||
21 | "/run/firejail/mnt/seccomp.protocol seccomp filter" | 21 | "/run/firejail/mnt/seccomp.protocol seccomp filter" |
22 | } | 22 | } |
23 | after 100 | 23 | after 100 |
24 | send -- "ls -l /run/firejail/mnt | grep seccomp | wc -l\r" | 24 | send -- "ls -l /run/firejail/mnt | grep -c seccomp\r" |
25 | expect { | 25 | expect { |
26 | timeout {puts "TESTING ERROR 3\n";exit} | 26 | timeout {puts "TESTING ERROR 3\n";exit} |
27 | "4" | 27 | "4" |
@@ -38,10 +38,10 @@ expect { | |||
38 | "/run/firejail/mnt/seccomp.protocol seccomp filter" | 38 | "/run/firejail/mnt/seccomp.protocol seccomp filter" |
39 | } | 39 | } |
40 | after 100 | 40 | after 100 |
41 | send -- "ls -l /run/firejail/mnt | grep seccomp | wc -l\r" | 41 | send -- "ls -l /run/firejail/mnt | grep -c seccomp\r" |
42 | expect { | 42 | expect { |
43 | timeout {puts "TESTING ERROR 8\n";exit} | 43 | timeout {puts "TESTING ERROR 8\n";exit} |
44 | "1" | 44 | "2" |
45 | } | 45 | } |
46 | send -- "exit\r" | 46 | send -- "exit\r" |
47 | sleep 1 | 47 | sleep 1 |
@@ -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 seccomp | wc -l\r" | 64 | send -- "ls -l /run/firejail/mnt | grep -c seccomp\r" |
65 | expect { | 65 | expect { |
66 | timeout {puts "TESTING ERROR 13\n";exit} | 66 | timeout {puts "TESTING ERROR 13\n";exit} |
67 | "3" | 67 | "3" |
@@ -87,7 +87,7 @@ expect { | |||
87 | "/run/firejail/mnt/seccomp.protocol seccomp filter" | 87 | "/run/firejail/mnt/seccomp.protocol seccomp filter" |
88 | } | 88 | } |
89 | after 100 | 89 | after 100 |
90 | send -- "ls -l /run/firejail/mnt | grep seccomp | wc -l\r" | 90 | send -- "ls -l /run/firejail/mnt | grep -c seccomp\r" |
91 | expect { | 91 | expect { |
92 | timeout {puts "TESTING ERROR 18\n";exit} | 92 | timeout {puts "TESTING ERROR 18\n";exit} |
93 | "5" | 93 | "5" |