diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/bus-proxyd/test-bus-policy.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/bus-proxyd/test-bus-policy.c b/src/bus-proxyd/test-bus-policy.c index a4b7b6af08..3140e083c2 100644 --- a/src/bus-proxyd/test-bus-policy.c +++ b/src/bus-proxyd/test-bus-policy.c @@ -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; } |