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

Florian Weimer fweimer@redhat.com
Mon May 18 10:04:00 GMT 2015


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



More information about the Libc-alpha mailing list