summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2016-10-21 21:48:10 +0200
committerLennart Poettering <lennart@poettering.net>2016-10-24 17:32:51 +0200
commitf6281133def1da2d7ac875b8cf5af5c32bc63fd8 (patch)
tree15a8fb957b83e1f4162bfab45eda70a3772030fe /Makefile.am
parenta3be2849b2570482757f83181b999febbfc7bbef (diff)
seccomp: add test-seccomp test tool
This validates the system call set table and many of our seccomp-util.c APIs.
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am11
1 files changed, 11 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index 18a5f4a82a..8ef3b42c41 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1570,6 +1570,11 @@ tests += \
test-acl-util
endif
+if HAVE_SECCOMP
+tests += \
+ test-seccomp
+endif
+
EXTRA_DIST += \
test/a.service \
test/basic.target \
@@ -2038,6 +2043,12 @@ test_acl_util_SOURCES = \
test_acl_util_LDADD = \
libsystemd-shared.la
+test_seccomp_SOURCES = \
+ src/test/test-seccomp.c
+
+test_seccomp_LDADD = \
+ libsystemd-shared.la
+
test_namespace_LDADD = \
libcore.la