From: Tom de Vries Date: Fri, 14 Dec 2018 09:43:41 +0000 (+0000) Subject: [testsuite] Remove bashism from libbacktrace/allocfail.sh X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a37a52e5925f8b00ed67b0862e72ded46a852ce7;p=gcc.git [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". From-SVN: r267127 --- diff --git a/libbacktrace/ChangeLog b/libbacktrace/ChangeLog index f2a17df0ee7..d3d964b24b2 100644 --- a/libbacktrace/ChangeLog +++ b/libbacktrace/ChangeLog @@ -1,3 +1,8 @@ +2018-12-14 Tom de Vries + + PR testsuite/88491 + * allocfail.sh: Remove "set -o pipefail". + 2018-12-12 Tom de Vries * Makefile.am (TESTS): Add allocfail.sh. diff --git a/libbacktrace/allocfail.sh b/libbacktrace/allocfail.sh index 91bc7a3e73d..6914de173a3 100755 --- a/libbacktrace/allocfail.sh +++ b/libbacktrace/allocfail.sh @@ -32,7 +32,6 @@ # POSSIBILITY OF SUCH DAMAGE. set -e -set -o pipefail if [ ! -f ./allocfail ]; then # Hard failure.