This patch adds a test that verifies the parser considers an emty character class regex as a parse arror.
Signed-off-by: Steve Beattie <[email protected]> --- parser/tst/simple_tests/file/bad_re_brace_1.sd | 8 ++++++++ 1 file changed, 8 insertions(+) Index: b/parser/tst/simple_tests/file/bad_re_brace_1.sd =================================================================== --- /dev/null +++ b/parser/tst/simple_tests/file/bad_re_brace_1.sd @@ -0,0 +1,8 @@ +# +#=DESCRIPTION regex with empty character class (brace) +#=EXRESULT FAIL +# +/usr/bin/foo { + /alpha/[]beta rw, +} + -- AppArmor mailing list [email protected] Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/apparmor
