[Bug testsuite/88491] new test case allocfail.sh in r267054 fails if dash is the default shell (/bin/sh)

vries at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Dec 14 09:44:00 GMT 2018


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88491

--- Comment #1 from Tom de Vries <vries at gcc dot gnu.org> ---
Author: vries
Date: Fri Dec 14 09:43:41 2018
New Revision: 267127

URL: https://gcc.gnu.org/viewcvs?rev=267127&root=gcc&view=rev
Log:
[testsuite] Remove bashism from libbacktrace/allocfail.sh

Test-case libbacktrace/allocfail.sh contains bashism "set -o pipefail", which
makes the script fail on ubuntu 18.04, which links /bin/sh to /bin/dash.

Fix this by removing the "set -o pipefail".

Tested by running the test-case with dash on x86_64-linux.

2018-12-14  Tom de Vries  <tdevries@suse.de>

        PR testsuite/88491
        * allocfail.sh: Remove "set -o pipefail".

Modified:
    trunk/libbacktrace/ChangeLog
    trunk/libbacktrace/allocfail.sh


More information about the Gcc-bugs mailing list