diff options
author | 2021-05-10 22:17:57 +0200 | |
---|---|---|
committer | 2021-05-10 22:17:57 +0200 | |
commit | c69836c5b87b0f4f3e8be15fdbe0ea2296709963 (patch) | |
tree | f763963b742f3c29da16335a3755329a67cf2935 | |
parent | Fix bijiben (diff) | |
download | firejail-c69836c5b87b0f4f3e8be15fdbe0ea2296709963.tar.gz firejail-c69836c5b87b0f4f3e8be15fdbe0ea2296709963.tar.zst firejail-c69836c5b87b0f4f3e8be15fdbe0ea2296709963.zip |
tests: adjust expected values of --build test
Fixes #4256
-rwxr-xr-x | test/utils/build.exp | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/test/utils/build.exp b/test/utils/build.exp index cdc2f3b7b..66b061e93 100755 --- a/test/utils/build.exp +++ b/test/utils/build.exp | |||
@@ -21,11 +21,11 @@ expect { | |||
21 | } | 21 | } |
22 | expect { | 22 | expect { |
23 | timeout {puts "TESTING ERROR 2\n";exit} | 23 | timeout {puts "TESTING ERROR 2\n";exit} |
24 | "blacklist /usr/share" | 24 | "include whitelist-usr-share-common.inc" |
25 | } | 25 | } |
26 | expect { | 26 | expect { |
27 | timeout {puts "TESTING ERROR 3\n";exit} | 27 | timeout {puts "TESTING ERROR 3\n";exit} |
28 | "blacklist /var" | 28 | "include whitelist-var-common.inc" |
29 | } | 29 | } |
30 | expect { | 30 | expect { |
31 | timeout {puts "TESTING ERROR 4\n";exit} | 31 | timeout {puts "TESTING ERROR 4\n";exit} |
@@ -37,7 +37,7 @@ expect { | |||
37 | } | 37 | } |
38 | expect { | 38 | expect { |
39 | timeout {puts "TESTING ERROR 6\n";exit} | 39 | timeout {puts "TESTING ERROR 6\n";exit} |
40 | "private-etc" | 40 | "private-etc none" |
41 | } | 41 | } |
42 | expect { | 42 | expect { |
43 | timeout {puts "TESTING ERROR 7\n";exit} | 43 | timeout {puts "TESTING ERROR 7\n";exit} |
@@ -49,11 +49,11 @@ expect { | |||
49 | } | 49 | } |
50 | expect { | 50 | expect { |
51 | timeout {puts "TESTING ERROR 9\n";exit} | 51 | timeout {puts "TESTING ERROR 9\n";exit} |
52 | "nonewprivs" | 52 | "netfilter" |
53 | } | 53 | } |
54 | expect { | 54 | expect { |
55 | timeout {puts "TESTING ERROR 10\n";exit} | 55 | timeout {puts "TESTING ERROR 10\n";exit} |
56 | "seccomp" | 56 | "nonewprivs" |
57 | } | 57 | } |
58 | expect { | 58 | expect { |
59 | timeout {puts "TESTING ERROR 11\n";exit} | 59 | timeout {puts "TESTING ERROR 11\n";exit} |
@@ -61,7 +61,11 @@ expect { | |||
61 | } | 61 | } |
62 | expect { | 62 | expect { |
63 | timeout {puts "TESTING ERROR 12\n";exit} | 63 | timeout {puts "TESTING ERROR 12\n";exit} |
64 | "shell none" | 64 | "seccomp" |
65 | } | ||
66 | expect { | ||
67 | timeout {puts "TESTING ERROR 13\n";exit} | ||
68 | "#shell none" | ||
65 | } | 69 | } |
66 | after 100 | 70 | after 100 |
67 | 71 | ||