mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-01-28 03:44:02 +08:00
[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:
parent
b210534e5c
commit
a37a52e592
@ -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.
|
||||
|
@ -32,7 +32,6 @@
|
||||
# POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
set -e
|
||||
set -o pipefail
|
||||
|
||||
if [ ! -f ./allocfail ]; then
|
||||
# Hard failure.
|
||||
|
Loading…
Reference in New Issue
Block a user