summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2016-03-04 10:50:45 -0500
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2016-04-05 23:19:56 -0400
commit2abb5b3b10e3a9ed8ffd0189e8a1828ec086f69e (patch)
treed6fc801ae4c799770eb676bc5872269f1b4eb3f0 /Makefile.am
parent8e98476e143519aa3f0a2e0db6fccfe9ef134cbc (diff)
test-nss: test the resolution of various names
nss-dns is also "tested". It should be almost always available, and provides a reference for comparison.
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 0f17bad8b1..dc9f9afa9c 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -4778,6 +4778,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 \