[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
This commit is contained in:
Tom de Vries 2018-12-14 09:43:41 +00:00 committed by Tom de Vries
parent b210534e5c
commit a37a52e592
2 changed files with 5 additions and 1 deletions

View 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.

View File

@ -32,7 +32,6 @@
# POSSIBILITY OF SUCH DAMAGE.
set -e
set -o pipefail
if [ ! -f ./allocfail ]; then
# Hard failure.