chiark / gitweb /
bus-policy: also add in other bus policy tests from dbus1
[elogind.git] / src / bus-proxyd / test-bus-policy.c
index a4b7b6af08e9daa36c60399cad57a0a7f533bda1..3140e083c2ee62c68001a9b602fb55f546ba3864 100644 (file)
@@ -147,5 +147,17 @@ int main(int argc, char *argv[]) {
 
         policy_free(&p);
 
+        /* dbus1 test file: many rules */
+
+        assert_se(test_policy_load(&p, "many-rules.conf") >= 0);
+        policy_dump(&p);
+        policy_free(&p);
+
+        /* dbus1 test file: generic test */
+
+        assert_se(test_policy_load(&p, "test.conf") >= 0);
+        policy_dump(&p);
+        policy_free(&p);
+
         return EXIT_SUCCESS;
 }