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

Add DESCRIPTION and EXRESULT to new simple_tests includes

Some of the include files added to simple_tests recently don't live in
one of the main include directories (includes/, includes-preamble/ or
include_tests/) which lets test-parser-simple-tests.py fail because
those files don't contain EXRESULT.

Instead of adding more exceptions to test-parser-simple-tests.py, this
patch adds DESCRIPTION and EXRESULT to those include files.


Acked-by: John Johansen <john.johansen@canonical.com>
This commit is contained in:
Christian Boltz
2015-07-11 21:54:31 +02:00
parent 4acfa81c17
commit b512d78635
3 changed files with 13 additions and 2 deletions

View File

@@ -1,2 +1,6 @@
# Valid include
#=DESCRIPTION Valid include
#
# if parsed stand-alone,
#=EXRESULT PASS
@{FOO} = /foo /bar

View File

@@ -1,2 +1,6 @@
# Valid include
#=DESCRIPTION Valid include
#
# if parsed stand-alone,
#=EXRESULT PASS
@{FOO} = /foo /bar

View File

@@ -1,5 +1,8 @@
#
#=DESCRIPTION A helper for includes_okay.sd
#
# if parsed standalone,
#=EXRESULT FAIL
#
include <includes/fonts>