This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] Fix stdlib/tst-setcontext3 with dash [BZ#18418]
- From: Florian Weimer <fweimer at redhat dot com>
- To: "Carlos O'Donell" <carlos at redhat dot com>, Adhemerval Zanella <adhemerval dot zanella at linaro dot org>, GNU C Library <libc-alpha at sourceware dot org>
- Date: Mon, 18 May 2015 09:59:32 +0200
- Subject: Re: [PATCH] Fix stdlib/tst-setcontext3 with dash [BZ#18418]
- Authentication-results: sourceware.org; auth=none
- References: <55564F42 dot 2070803 at linaro dot org> <5556C236 dot 4040002 at redhat dot com>
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