apparmor/parser/tst/simple_tests/vars
Steve Beattie 05029cb9b7 parser - add support for variable expansion in dbus rules
Bug: https://bugs.launchpad.net/bugs/1218099

This patch adds support for expanding variables with dbus rules.
Specifically, they can expanded within the bus, name, path, member,
interface, and peer label fields.

Parser test cases and regression test cases are added as well.

Patch history:
  v1: initial version of patch
  v2: add equality.sh tests to verify that the results of using
      variable expansion is the same as what should be equivalent rules

Signed-off-by: Steve Beattie <sbeattie@ubuntu.com>
Acked-by: Tyler Hicks <tyhicks@canonical.com>
Acked-by: Seth Arnold <seth.arnold@canonical.com>
2013-08-29 12:34:13 -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 Bah, fix up screwed up testcase. 2011-03-29 02:46:09 -07:00
vars_alternation_2.sd Bah, fix up screwed up testcase. 2011-03-29 02:46:09 -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_dbus_1.sd parser - add support for variable expansion in dbus rules 2013-08-29 12:34:13 -07:00
vars_dbus_2.sd parser - add support for variable expansion in dbus rules 2013-08-29 12:34:13 -07:00
vars_dbus_3.sd parser - add support for variable expansion in dbus rules 2013-08-29 12:34:13 -07:00
vars_dbus_4.sd parser - add support for variable expansion in dbus rules 2013-08-29 12:34:13 -07:00
vars_dbus_5.sd parser - add support for variable expansion in dbus rules 2013-08-29 12:34:13 -07:00
vars_dbus_6.sd parser - add support for variable expansion in dbus rules 2013-08-29 12:34:13 -07:00
vars_dbus_7.sd parser - add support for variable expansion in dbus rules 2013-08-29 12:34:13 -07: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