summaryrefslogtreecommitdiffstats
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
parentMerge pull request #2962 from keszybz/value-option (diff)
parentnss-myhostname: remove dead test of variable that was not set (diff)
downloadsystemd-056f0498fefc4c3e3cedf11ea3ba1b04a8694118.tar.xz
systemd-056f0498fefc4c3e3cedf11ea3ba1b04a8694118.zip
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 \