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

2018-12-14 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88491

Tom de Vries  changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 CC||ian at airs dot com
 Resolution|--- |FIXED
   Target Milestone|--- |9.0

--- Comment #2 from Tom de Vries  ---
Patch fixing test-case committed, marking resolved-fixed.

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

2018-12-14 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88491

--- Comment #1 from Tom de Vries  ---
Author: vries
Date: Fri Dec 14 09:43:41 2018
New Revision: 267127

URL: https://gcc.gnu.org/viewcvs?rev=267127=gcc=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  

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

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