summaryrefslogtreecommitdiff
path: root/test/sd-activation.c
diff options
context:
space:
mode:
authorSimon McVittie <simon.mcvittie@collabora.co.uk>2016-11-21 21:18:15 +0000
committerSimon McVittie <simon.mcvittie@collabora.co.uk>2016-11-28 12:11:56 +0000
commit025c5dc5d586c639937124270f16ed63f5d42e0b (patch)
tree3ac31ed6b31ed8af90f50fb3a1b3b8a0b0705dc3 /test/sd-activation.c
parent80654389f8c22a8999466a186bd408ce967c52eb (diff)
downloaddbus-025c5dc5d586c639937124270f16ed63f5d42e0b.tar.gz
Activation test: exercise what happens with nonexistent AppArmor labels
Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk> Reviewed-by: Philip Withnall <philip.withnall@collabora.co.uk> Bug: https://bugs.freedesktop.org/show_bug.cgi?id=98666
Diffstat (limited to 'test/sd-activation.c')
-rw-r--r--test/sd-activation.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/sd-activation.c b/test/sd-activation.c
index f296d324..24ac2107 100644
--- a/test/sd-activation.c
+++ b/test/sd-activation.c
@@ -828,6 +828,9 @@ main (int argc,
g_test_add ("/sd-activation/apparmor/deny-send/by-label", Fixture,
"com.example.SendDeniedByAppArmorLabel",
setup, test_deny_send, teardown);
+ g_test_add ("/sd-activation/apparmor/deny-send/by-nonexistent-label", Fixture,
+ "com.example.SendDeniedByNonexistentAppArmorLabel",
+ setup, test_deny_send, teardown);
g_test_add ("/sd-activation/apparmor/deny-send/by-name", Fixture,
"com.example.SendDeniedByAppArmorName",
setup, test_deny_send, teardown);