This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Fix stdlib/tst-setcontext3 with dash [BZ#18418]


On 05/16/2015 06:06 AM, Carlos O'Donell wrote:
> On 05/15/2015 03:55 PM, Adhemerval Zanella wrote:
>> This patch remove the non-portable array usage on tst-setcontext3.sh
>> script.  It fixes the testcase when using dash as default shell.
>>
>> Tested on x86_64. OK to apply?
> 
> Why should this matter when the test is explicitly designed to use bash?
> 
> e.g. # !/bin/bash
> 
> You can't pretend to be bash, and not provide bash features.

The shell script is invoked with $(SHELL) from Makefile, so the #! line
is ignored.

-- 
Florian Weimer / Red Hat Product Security


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]