[testsuite] Remove bashism from libbacktrace/allocfail.sh
authorTom de Vries <tdevries@suse.de>
Fri, 14 Dec 2018 09:43:41 +0000 (09:43 +0000)
committerTom de Vries <vries@gcc.gnu.org>
Fri, 14 Dec 2018 09:43:41 +0000 (09:43 +0000)
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".

From-SVN: r267127

libbacktrace/ChangeLog
libbacktrace/allocfail.sh

index f2a17df..d3d964b 100644 (file)
@@ -1,3 +1,8 @@
+2018-12-14  Tom de Vries  <tdevries@suse.de>
+
+       PR testsuite/88491
+       * allocfail.sh: Remove "set -o pipefail".
+
 2018-12-12  Tom de Vries  <tdevries@suse.de>
 
        * Makefile.am (TESTS): Add allocfail.sh.
index 91bc7a3..6914de1 100755 (executable)
@@ -32,7 +32,6 @@
 # POSSIBILITY OF SUCH DAMAGE.
 
 set -e
-set -o pipefail
 
 if [ ! -f ./allocfail ]; then
     # Hard failure.