aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom de Vries <tdevries@suse.de>2018-12-14 09:43:41 +0000
committerTom de Vries <vries@gcc.gnu.org>2018-12-14 09:43:41 +0000
commita37a52e5925f8b00ed67b0862e72ded46a852ce7 (patch)
treefe941e1434c0c4af067a2140a9ffa0596e0bfa3a
parentb210534e5c630eda94b210a8d22dbfae1299d2da (diff)
downloadgcc-a37a52e5925f8b00ed67b0862e72ded46a852ce7.zip
gcc-a37a52e5925f8b00ed67b0862e72ded46a852ce7.tar.gz
gcc-a37a52e5925f8b00ed67b0862e72ded46a852ce7.tar.bz2
[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". From-SVN: r267127
-rw-r--r--libbacktrace/ChangeLog5
-rwxr-xr-xlibbacktrace/allocfail.sh1
2 files changed, 5 insertions, 1 deletions
diff --git a/libbacktrace/ChangeLog b/libbacktrace/ChangeLog
index f2a17df..d3d964b 100644
--- a/libbacktrace/ChangeLog
+++ b/libbacktrace/ChangeLog
@@ -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.
diff --git a/libbacktrace/allocfail.sh b/libbacktrace/allocfail.sh
index 91bc7a3..6914de1 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.