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.
This commit is contained in:
Stefan Liebler 2018-12-14 09:50:53 +01:00
parent db6df070cf
commit 268bb71e47
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2018-12-14 Stefan Liebler <stli@linux.ibm.com>
* nss/Makefile (tst-nss-test3.out): New rule.
2018-12-13 Joseph Myers <joseph@codesourcery.com>
* sysdeps/mach/hurd/i386/init-first.c (_hurd_stack_setup): Do not

View File

@ -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)