public inbox for libc-alpha@sourceware.org
 help / color / mirror / Atom feed
* [PATCH] Add missing libnss_testX.so requirement for tst-nss-test3.
@ 2018-12-12 12:02 Stefan Liebler
  2018-12-12 15:38 ` Carlos O'Donell
  0 siblings, 1 reply; 3+ messages in thread
From: Stefan Liebler @ 2018-12-12 12:02 UTC (permalink / raw)
  To: GNU C Library

[-- Attachment #1: Type: text/plain, Size: 487 bytes --]

Hi,

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.

Okay to commit?

Bye,
Stefan

ChangeLog:

	* nss/Makefile (tst-nss-test3.out): New rule.

[-- Attachment #2: 20181212_tst-nss-test3.patch --]
[-- Type: text/x-patch, Size: 1178 bytes --]

commit aa415088f0a8be316b315bfd114487cc6466f1f1
Author: Stefan Liebler <stli@linux.ibm.com>
Date:   Wed Dec 12 12:44:06 2018 +0100

    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.

diff --git a/nss/Makefile b/nss/Makefile
index e00a4f7..c5f1a7d 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)
 

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] Add missing libnss_testX.so requirement for tst-nss-test3.
  2018-12-12 12:02 [PATCH] Add missing libnss_testX.so requirement for tst-nss-test3 Stefan Liebler
@ 2018-12-12 15:38 ` Carlos O'Donell
  2018-12-14  9:06   ` Stefan Liebler
  0 siblings, 1 reply; 3+ messages in thread
From: Carlos O'Donell @ 2018-12-12 15:38 UTC (permalink / raw)
  To: Stefan Liebler, GNU C Library

On 12/12/18 6:48 AM, Stefan Liebler wrote:
> Hi,
> 
> 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.
> 
> Okay to commit?
> 
> Bye,
> Stefan
> 
> ChangeLog:
> 
>     * nss/Makefile (tst-nss-test3.out): New rule.

OK for master.

Reviewed-by: Carlos O'Donell <carlos@redaht.com>

-- 
Cheers,
Carlos.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] Add missing libnss_testX.so requirement for tst-nss-test3.
  2018-12-12 15:38 ` Carlos O'Donell
@ 2018-12-14  9:06   ` Stefan Liebler
  0 siblings, 0 replies; 3+ messages in thread
From: Stefan Liebler @ 2018-12-14  9:06 UTC (permalink / raw)
  To: Carlos O'Donell, GNU C Library

On 12/12/2018 03:34 PM, Carlos O'Donell wrote:
> On 12/12/18 6:48 AM, Stefan Liebler wrote:
>> Hi,
>>
>> 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.
>>
>> Okay to commit?
>>
>> Bye,
>> Stefan
>>
>> ChangeLog:
>>
>>      * nss/Makefile (tst-nss-test3.out): New rule.
> 
> OK for master.
> 
> Reviewed-by: Carlos O'Donell <carlos@redaht.com>
> 

Thanks. Committed.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-12-14  8:52 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-12-12 12:02 [PATCH] Add missing libnss_testX.so requirement for tst-nss-test3 Stefan Liebler
2018-12-12 15:38 ` Carlos O'Donell
2018-12-14  9:06   ` Stefan Liebler

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).