2
0
mirror of https://gitlab.com/apparmor/apparmor synced 2025-08-31 06:16:03 +00:00

regression test: Fix regression tests when using in tree parser

When using the in tree parser we should not be using the system
parser.conf file, as if the system apparmor is newer than the
tree being tested the parser.conf file could contain options not
understood by the in tree apparmor_parser.

Use --config-file to specify the default in tree parser.conf

MR: https://gitlab.com/apparmor/apparmor/-/merge_requests/653
Signed-off-by: John Johansen <john.johansen@canonical.com>
This commit is contained in:
John Johansen
2020-10-13 03:48:31 -07:00
parent 40b7019d72
commit 5ac368bce7

View File

@@ -3,7 +3,7 @@ subdomain=${PWD}/../../../parser/apparmor_parser
#subdomain=/sbin/apparmor_parser
# 2. additional arguments to the apparmor parser
parser_args="-q -K"
parser_args="--config-file=${PWD}/../../../parser.conf -q -K"
# 3. directory to be used for temp files
# Need to be able to access this directory by the root and nobody users.