From 5bb5b236fe8c663b7d4db5ccaf3e3e7942bf6abd Mon Sep 17 00:00:00 2001 From: Zbigniew Jędrzejewski-Szmek Date: Sat, 28 Nov 2015 00:04:40 -0500 Subject: test-acl-util: add new test For now, only add_acls_for_user is tested. When run under root, it actually sets the acls. When run under non-root, it sets the acls for the user, which does nothing, but at least calls the functions. --- Makefile.am | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'Makefile.am') diff --git a/Makefile.am b/Makefile.am index db206ae13e..cecd139e4f 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1499,6 +1499,11 @@ tests += \ test-dns-domain \ test-install-root +if HAVE_ACL +tests += \ + test-acl-util +endif + EXTRA_DIST += \ test/a.service \ test/basic.target \ @@ -1846,6 +1851,12 @@ test_install_root_SOURCES = \ test_install_root_LDADD = \ libshared.la +test_acl_util_SOURCES = \ + src/test/test-acl-util.c + +test_acl_util_LDADD = \ + libshared.la + test_namespace_LDADD = \ libcore.la -- cgit v1.2.3-54-g00ecf