summary refs log tree commit diff
path: root/nss
diff options
context:
space:
mode:
authorStefan Liebler <stli@linux.ibm.com>2018-12-14 09:50:53 +0100
committerStefan Liebler <stli@linux.ibm.com>2018-12-14 09:50:53 +0100
commit268bb71e475d7e40fad83313be0eeb173e599c92 (patch)
treed867aac72cf9f74a07dafd1bccd3717c8677849a /nss
parentdb6df070cfff9ba78a72346208859b3fdee09561 (diff)
downloadglibc-268bb71e475d7e40fad83313be0eeb173e599c92.tar.gz
glibc-268bb71e475d7e40fad83313be0eeb173e599c92.tar.xz
glibc-268bb71e475d7e40fad83313be0eeb173e599c92.zip
Add missing libnss_testX.so requirement for tst-nss-test3.
Sometimes tst-nss-test3 fails with:
error: test-container.c:386: unable to open .../nss/libnss_test1.so for reading

The test tst-nss-test3 which runs in a container needs
libnss_test[12].so. (see e.g. tst-nss-test3.script).
Before this test was moved from tests to tests-container variable,
the requirement was met.  Thus this patch adds this requirement
also for tests in tests-container.

ChangeLog:

	* nss/Makefile (tst-nss-test3.out): New rule.
Diffstat (limited to 'nss')
-rw-r--r--nss/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/nss/Makefile b/nss/Makefile
index e00a4f768f..c5f1a7d1b0 100644
--- a/nss/Makefile
+++ b/nss/Makefile
@@ -163,7 +163,7 @@ ifdef libnss_test2.so-version
 $(objpfx)/libnss_test2.so$(libnss_test2.so-version): $(objpfx)/libnss_test2.so
 	$(make-link)
 endif
-$(patsubst %,$(objpfx)%.out,$(tests)) : \
+$(patsubst %,$(objpfx)%.out,$(tests) $(tests-container)) : \
 	$(objpfx)/libnss_test1.so$(libnss_test1.so-version) \
 	$(objpfx)/libnss_test2.so$(libnss_test2.so-version)