diff options
author | Florian Weimer <fweimer@redhat.com> | 2018-09-20 12:03:01 +0200 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2018-09-20 12:03:01 +0200 |
commit | db9a8ad4ff3fc58e3773a9a4d0cabe3c1bc9c94c (patch) | |
tree | a582789ba9f11eeb4effa61a3164b0a8d51b6bc9 /misc/Makefile | |
parent | 1214ba06e6771acb953a190091b0f6055c64fd25 (diff) | |
download | glibc-db9a8ad4ff3fc58e3773a9a4d0cabe3c1bc9c94c.tar.gz glibc-db9a8ad4ff3fc58e3773a9a4d0cabe3c1bc9c94c.tar.xz glibc-db9a8ad4ff3fc58e3773a9a4d0cabe3c1bc9c94c.zip |
misc: New test misc/tst-gethostid
The empty /etc/hosts file used to trigger bug 23679.
Diffstat (limited to 'misc/Makefile')
-rw-r--r-- | misc/Makefile | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/misc/Makefile b/misc/Makefile index 9a87e81ae5..30e0673c8a 100644 --- a/misc/Makefile +++ b/misc/Makefile @@ -86,6 +86,11 @@ tests := tst-dirname tst-tsearch tst-fdset tst-efgcvt tst-mntent tst-hsearch \ tst-preadvwritev tst-preadvwritev64 tst-makedev tst-empty \ tst-preadvwritev2 tst-preadvwritev64v2 tst-warn-wide +# Tests which need libdl. +ifeq (yes,$(build-shared)) +tests += tst-gethostid +endif + tests-internal := tst-atomic tst-atomic-long tst-allocate_once tests-static := tst-empty @@ -145,3 +150,5 @@ tst-allocate_once-ENV = MALLOC_TRACE=$(objpfx)tst-allocate_once.mtrace $(objpfx)tst-allocate_once-mem.out: $(objpfx)tst-allocate_once.out $(common-objpfx)malloc/mtrace $(objpfx)tst-allocate_once.mtrace > $@; \ $(evaluate-test) + +$(objpfx)tst-gethostid: $(libdl) |