Hi, When individual regression tests are run, a pseudo script for reproducing the steps of the test are created in the created temporary directory (but is not actually how the individual tests are run by the harness). When support for complain-mode test profiles added, the extra complain flag option was not added to the code that generates the runtest script. This patch fixes the issue.
Nominated for 2.11, 2.10, and 2.9. Signed-off-by: Steve Beattie <[email protected]> --- tests/regression/apparmor/prologue.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Index: b/tests/regression/apparmor/prologue.inc =================================================================== --- a/tests/regression/apparmor/prologue.inc +++ b/tests/regression/apparmor/prologue.inc @@ -146,7 +146,7 @@ genrunscript() if [ "$retaintmpdir" = "true" ] then runfile=$tmpdir/runtest - echo "$subdomain ${parser_args} $profile" > $runfile + echo "$subdomain ${parser_args} ${complainflag} $profile" > $runfile echo -n "$testexec " >> $runfile while [ $# -gt 0 ] ; do echo -n "\"$1\" " >> $runfile -- Steve Beattie <[email protected]> http://NxNW.org/~steve/
signature.asc
Description: PGP signature
-- AppArmor mailing list [email protected] Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/apparmor
