apparmor/parser/tst/simple_tests/vars
Steve Beattie f8b43d5ba9 The parser's lexer supports variables defined matching the regex
'[[:alpha:]][[:alnum:]_]*' (i.e. a single alpha followed by any number
of alphanumerics or underscores). Unfortunately, the code that expends
variables inside a profile does not match this, it incorrectly matched
'([[:alpha:]]|_)+' (one or more alphas or underscores). This patch
corrects the behavior there as well as synchronizing the expected
variable names in the apparmor.d manpage and apparmor.vim syntax file.

It also adds unit tests and testcases to verify the behavior.

Signed-off-by: Steve Beattie <sbeattie@ubuntu.com>
2011-03-28 10:52:02 -07:00
..
boolean Rearrange tests into subdirectories, so that it is easier to see what tests 2009-07-23 07:42:57 +00:00
vars_alternation_1.sd The parser's lexer supports variables defined matching the regex 2011-03-28 10:52:02 -07:00
vars_alternation_2.sd The parser's lexer supports variables defined matching the regex 2011-03-28 10:52:02 -07:00
vars_assignment_reference_1.sd Rearrange tests into subdirectories, so that it is easier to see what tests 2009-07-23 07:42:57 +00:00
vars_bad_1.sd This patch fixes the parser's lexer to not passthrough other invalid 2010-11-19 02:27:33 -08:00
vars_bad_2.sd This patch fixes the parser's lexer to not passthrough other invalid 2010-11-19 02:27:33 -08:00
vars_bad_3.sd This patch fixes the parser's lexer to not passthrough other invalid 2010-11-19 02:27:33 -08:00
vars_bad_4.sd The parser's lexer supports variables defined matching the regex 2011-03-28 10:52:02 -07:00
vars_bad_5.sd The parser's lexer supports variables defined matching the regex 2011-03-28 10:52:02 -07:00
vars_bad_trailing_comma_1.sd This patch fixes the parser to return an error when variable declaration 2010-11-19 01:42:04 -08:00
vars_bad_trailing_comma_2.sd This patch fixes the parser to return an error when variable declaration 2010-11-19 01:42:04 -08:00
vars_bad_trailing_comma_3.sd This patch fixes the parser to return an error when variable declaration 2010-11-19 01:42:04 -08:00
vars_bad_trailing_comma_4.sd This patch fixes the parser to return an error when variable declaration 2010-11-19 01:42:04 -08:00
vars_bad_trailing_garbage_1.sd This patch fixes the parser's lexer to not passthrough other invalid 2010-11-19 02:27:33 -08:00
vars_file_evaluation_1.sd Rearrange tests into subdirectories, so that it is easier to see what tests 2009-07-23 07:42:57 +00:00
vars_file_evaluation_2.sd Rearrange tests into subdirectories, so that it is easier to see what tests 2009-07-23 07:42:57 +00:00
vars_file_evaluation_3.sd Rearrange tests into subdirectories, so that it is easier to see what tests 2009-07-23 07:42:57 +00:00
vars_file_evaluation_4.sd Rearrange tests into subdirectories, so that it is easier to see what tests 2009-07-23 07:42:57 +00:00
vars_file_evaluation_5.sd Rearrange tests into subdirectories, so that it is easier to see what tests 2009-07-23 07:42:57 +00:00
vars_file_evaluation_6.sd Rearrange tests into subdirectories, so that it is easier to see what tests 2009-07-23 07:42:57 +00:00
vars_file_evaluation_7.sd Rearrange tests into subdirectories, so that it is easier to see what tests 2009-07-23 07:42:57 +00:00
vars_file_evaluation_8.sd Rearrange tests into subdirectories, so that it is easier to see what tests 2009-07-23 07:42:57 +00:00
vars_file_evaluation_9.sd Rearrange tests into subdirectories, so that it is easier to see what tests 2009-07-23 07:42:57 +00:00
vars_file_evaluation_10.sd Rearrange tests into subdirectories, so that it is easier to see what tests 2009-07-23 07:42:57 +00:00
vars_file_evaluation_11.sd Rearrange tests into subdirectories, so that it is easier to see what tests 2009-07-23 07:42:57 +00:00
vars_file_evaluation_12.sd Rearrange tests into subdirectories, so that it is easier to see what tests 2009-07-23 07:42:57 +00:00
vars_file_evaluation_13.sd Rearrange tests into subdirectories, so that it is easier to see what tests 2009-07-23 07:42:57 +00:00
vars_file_evaluation_14.sd Rearrange tests into subdirectories, so that it is easier to see what tests 2009-07-23 07:42:57 +00:00
vars_file_evaluation_15.sd The parser's lexer supports variables defined matching the regex 2011-03-28 10:52:02 -07:00
vars_file_evaluation_16.sd The parser's lexer supports variables defined matching the regex 2011-03-28 10:52:02 -07:00
vars_reassignment_1.sd Rearrange tests into subdirectories, so that it is easier to see what tests 2009-07-23 07:42:57 +00:00
vars_recursion_1.sd Rearrange tests into subdirectories, so that it is easier to see what tests 2009-07-23 07:42:57 +00:00
vars_recursion_2.sd Rearrange tests into subdirectories, so that it is easier to see what tests 2009-07-23 07:42:57 +00:00
vars_recursion_3.sd Rearrange tests into subdirectories, so that it is easier to see what tests 2009-07-23 07:42:57 +00:00
vars_recursion_4.sd Rearrange tests into subdirectories, so that it is easier to see what tests 2009-07-23 07:42:57 +00:00
vars_simple_assignment_1.sd Rearrange tests into subdirectories, so that it is easier to see what tests 2009-07-23 07:42:57 +00:00
vars_simple_assignment_2.sd Rearrange tests into subdirectories, so that it is easier to see what tests 2009-07-23 07:42:57 +00:00
vars_simple_assignment_3.sd Rearrange tests into subdirectories, so that it is easier to see what tests 2009-07-23 07:42:57 +00:00
vars_simple_assignment_4.sd Rearrange tests into subdirectories, so that it is easier to see what tests 2009-07-23 07:42:57 +00:00
vars_simple_assignment_5.sd Rearrange tests into subdirectories, so that it is easier to see what tests 2009-07-23 07:42:57 +00:00
vars_simple_assignment_6.sd Rearrange tests into subdirectories, so that it is easier to see what tests 2009-07-23 07:42:57 +00:00
vars_simple_assignment_7.sd Rearrange tests into subdirectories, so that it is easier to see what tests 2009-07-23 07:42:57 +00:00
vars_simple_assignment_8.sd Rearrange tests into subdirectories, so that it is easier to see what tests 2009-07-23 07:42:57 +00:00
vars_simple_assignment_9.sd Rearrange tests into subdirectories, so that it is easier to see what tests 2009-07-23 07:42:57 +00:00
vars_simple_assignment_10.sd Rearrange tests into subdirectories, so that it is easier to see what tests 2009-07-23 07:42:57 +00:00
vars_simple_assignment_11.sd Rearrange tests into subdirectories, so that it is easier to see what tests 2009-07-23 07:42:57 +00:00
vars_simple_assignment_12.sd Rearrange tests into subdirectories, so that it is easier to see what tests 2009-07-23 07:42:57 +00:00
vars_simple_assignment_13.sd This patch fixes the parser to return an error when variable declaration 2010-11-19 01:42:04 -08:00
vars_simple_assignment_14.sd This patch fixes the parser to return an error when variable declaration 2010-11-19 01:42:04 -08:00
vars_stress_01.sd Rearrange tests into subdirectories, so that it is easier to see what tests 2009-07-23 07:42:57 +00:00
vars_stress_02.sd Rearrange tests into subdirectories, so that it is easier to see what tests 2009-07-23 07:42:57 +00:00
vars_stress_03.sd Rearrange tests into subdirectories, so that it is easier to see what tests 2009-07-23 07:42:57 +00:00