Hello,

this patch fixes some parser test syntax errors.

Errors include typos ("DESCRIPT__ON"), missing value after #=EXRESULT
and #=EXRESULT=PASS (= instead of space).


I propose this patch for trunk and 2.9.



[ fix-parser-tests.diff ]

=== modified file 'parser/tst/simple_tests/conditional/stress_1.sd'
--- parser/tst/simple_tests/conditional/stress_1.sd     2009-07-23 07:42:57 
+0000
+++ parser/tst/simple_tests/conditional/stress_1.sd     2015-07-05 10:35:37 
+0000
@@ -1,4 +1,4 @@
-#=DESCRIPTON simple stress test nested ifs
+#=DESCRIPTION simple stress test nested ifs
 #=EXRESULT PASS
 $a1 = true
 $a2 = true

=== modified file 'parser/tst/simple_tests/signal/rtsig_01.sd'
--- parser/tst/simple_tests/signal/rtsig_01.sd  2014-04-26 04:46:06 +0000
+++ parser/tst/simple_tests/signal/rtsig_01.sd  2015-07-05 10:33:26 +0000
@@ -1,6 +1,6 @@
 #
 #=DESCRIPTION simple rtsig test
-#=EXRESULT=PASS
+#=EXRESULT PASS
 #
 
 /usr/bin/signal-test {

=== modified file 'parser/tst/simple_tests/signal/rtsig_02.sd'
--- parser/tst/simple_tests/signal/rtsig_02.sd  2014-04-26 04:46:06 +0000
+++ parser/tst/simple_tests/signal/rtsig_02.sd  2015-07-05 10:33:37 +0000
@@ -1,6 +1,6 @@
 #
 #=DESCRIPTION simple rtsig test
-#=EXRESULT=PASS
+#=EXRESULT PASS
 #
 
 /usr/bin/signal-test {

=== modified file 'parser/tst/simple_tests/vars/vars_assignment_reference_1.sd'
--- parser/tst/simple_tests/vars/vars_assignment_reference_1.sd 2009-07-23 
07:42:57 +0000
+++ parser/tst/simple_tests/vars/vars_assignment_reference_1.sd 2015-07-05 
10:33:01 +0000
@@ -1,5 +1,5 @@
 #=DESCRIPTION set variable assignment using set variable as rvalue
-#=EXRESULT
+#=EXRESULT PASS
 
 @{FOO}=bar baz
 @{BAR}=${FOO} blort




Regards,

Christian Boltz
-- 
> I run opensuse 12.3
This is opensuse-factory@, you shouldn't come here with something
that old. :-)
[> Matwey V. Kornilov and Andreas Schwab in opensuse-factory]


-- 
AppArmor mailing list
AppArmor@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/apparmor

Reply via email to