diff options
author | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2016-11-21 21:18:15 +0000 |
---|---|---|
committer | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2016-11-28 12:11:56 +0000 |
commit | 025c5dc5d586c639937124270f16ed63f5d42e0b (patch) | |
tree | 3ac31ed6b31ed8af90f50fb3a1b3b8a0b0705dc3 /test/sd-activation.c | |
parent | 80654389f8c22a8999466a186bd408ce967c52eb (diff) | |
download | dbus-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.c | 3 |
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); |