summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2016-04-06 10:48:55 +0200
committerLennart Poettering <lennart@poettering.net>2016-04-06 10:48:55 +0200
commit056f0498fefc4c3e3cedf11ea3ba1b04a8694118 (patch)
tree788140056e2c552adfe4e90ac797f8c821e659fd /Makefile.am
parent382b56622add2aff81bdcc8af5fa0b40c3cb64ef (diff)
parent82e4c2d656941a76d7c5f86d70cd8b435cb52860 (diff)
Merge pull request #2947 from keszybz/test-nss
Add a test for nss modules and some related fixes
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 7668c541cb..4ff9276fdd 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -4875,6 +4875,17 @@ EXTRA_DIST += \
src/timesync/timesyncd.conf.in
# ------------------------------------------------------------------------------
+test_nss_SOURCES = \
+ src/test/test-nss.c
+
+test_nss_LDADD = \
+ libsystemd-internal.la \
+ -ldl
+
+tests += \
+ test-nss
+
+# ------------------------------------------------------------------------------
if HAVE_MYHOSTNAME
libnss_myhostname_la_SOURCES = \
src/nss-myhostname/nss-myhostname.sym \