tests: make denying method calls narrower 16/206416/1
authorAdrian Szyndela <adrian.s@samsung.com>
Fri, 17 May 2019 11:07:18 +0000 (13:07 +0200)
committerAdrian Szyndela <adrian.s@samsung.com>
Fri, 17 May 2019 11:08:28 +0000 (13:08 +0200)
After commit 329ae0e41 the cynara test stopped working. It was due to
different order of reading configuration files, as method.tests.conf
denied all the method calls.

This makes method.tests.conf deny only method calls to org.test.*, which
covers all destinations defined in the file.

Change-Id: I9a181bb184d41af83585c000b458fb9edd78cfb9

tests/default_allow/system.d/methods.test.conf

index 7928557..50101fe 100644 (file)
@@ -4,7 +4,7 @@
 
 <busconfig>
     <policy context="default" >
-        <deny send_type="method_call" />
+        <deny send_type="method_call" send_destination_prefix="org.test"/>
         <allow send_destination="org.test.test9" />
         <allow receive_sender="org.test.test9" />
         <allow send_destination="org.test.test10" />