From patchwork Fri Dec 14 09:48:26 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tom de Vries X-Patchwork-Id: 1013423 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=gcc.gnu.org (client-ip=209.132.180.131; helo=sourceware.org; envelope-from=gcc-patches-return-492458-incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=suse.de Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b="HZY5JBBR"; dkim-atps=neutral Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 43GQjr21ybz9s1c for ; Fri, 14 Dec 2018 20:49:03 +1100 (AEDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:date :from:to:cc:subject:message-id:mime-version:content-type; q=dns; s=default; b=gn7OJtUE+lzwUuWkIuIKIvTFV9U9zwK+vGrJ+x0sLFHVXJeY2W DDsz8qE8pOOamB8vYi2mTsuyd0WXXAwO6175pjhnZCwuUKR1xL4+t5Jt2+lgGWmT BGQRnGE/sGlAjxZq/s02zKr8Ah9gEfvRp5XOYdUPZEa/ZioKz7n0V7VXI= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:date :from:to:cc:subject:message-id:mime-version:content-type; s= default; bh=2F7sI3Lugnd7weTeQc4ghyQClQ4=; b=HZY5JBBRp2XBC0KOpTed CQXTDBepb7KnjfPWDMD9MXS47eC2cJ1yN1XKgqoPRC1zEnT9ml7yG8X+ON2u1dVA J1PTKNieUDqCYJqnkO2C9qieSEvfVHdkD4VAUt5MT1GwX9NQmo6jYCuz0RKQf79x OXc+ksn6mSYtWJQTfuH97gw= Received: (qmail 99500 invoked by alias); 14 Dec 2018 09:48:50 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org Received: (qmail 83184 invoked by uid 89); 14 Dec 2018 09:48:25 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-26.9 required=5.0 tests=BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, SPF_PASS autolearn=ham version=3.3.2 spammy=damage X-HELO: mx1.suse.de Received: from mx2.suse.de (HELO mx1.suse.de) (195.135.220.15) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 14 Dec 2018 09:48:22 +0000 Received: from relay1.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id 1155AAD85; Fri, 14 Dec 2018 09:48:10 +0000 (UTC) Date: Fri, 14 Dec 2018 10:48:26 +0100 From: Tom de Vries To: gcc-patches@gcc.gnu.org Cc: Ian Lance Taylor Subject: [committed][testsuite] Remove bashism from libbacktrace/allocfail.sh Message-ID: <20181214094824.GA6372@delia> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.10.1 (2018-07-13) X-IsSubscribed: yes Hi, 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. Committed to trunk. Thanks, - Tom [testsuite] Remove bashism from libbacktrace/allocfail.sh 2018-12-14 Tom de Vries PR testsuite/88491 * allocfail.sh: Remove "set -o pipefail". --- libbacktrace/allocfail.sh | 1 - 1 file changed, 1 deletion(-) 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.