-
Tyler Hicks authored
If a parser test case causes the parser to produce a core dump, the simple.pl test runner incorrectly treats the test as a success. This patch treats tests that cause core dumps as failures, even when the tests are marked as #=TODO. The only way to ignore tests that fail in this manner is with #=DISABLED. Note that this patch changes the meaning of the $result variable. Previously, it held a true or false status returned when closing the apparmor_parser pipe. Now, it holds the exit status of apparmor_parser. Signed-off-by: Tyler Hicks <tyhicks@canonical.com> Acked-by: Steve Beattie <steve@nxnw.org>
46ae49a3
To learn more about this project, read the wiki.