parser: add test case for empty character class regex

This patch adds a test that verifies the parser considers an emty
character class regex as a parse arror.

Signed-off-by: Steve Beattie <steve@nxnw.org>
Acked-By: Christian Boltz <apparmor@cboltz.de>
This commit is contained in:
Steve Beattie 2013-12-03 15:55:54 -08:00
parent 73a5f13175
commit 8bda1488dc

View file

@ -0,0 +1,8 @@
#
#=DESCRIPTION regex with empty character class (brace)
#=EXRESULT FAIL
#
/usr/bin/foo {
/alpha/[]beta rw,
}