From patchwork Fri Feb 8 11:32:33 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Randall S. Becker" X-Patchwork-Id: 10802935 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id EE5B6922 for ; Fri, 8 Feb 2019 11:32:48 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id DE05A2D91D for ; Fri, 8 Feb 2019 11:32:48 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id CEF452D923; Fri, 8 Feb 2019 11:32:48 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 72FEC2D91D for ; Fri, 8 Feb 2019 11:32:48 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726641AbfBHLcq (ORCPT ); Fri, 8 Feb 2019 06:32:46 -0500 Received: from sonic304-14.consmr.mail.bf2.yahoo.com ([74.6.128.37]:45314 "EHLO sonic304-14.consmr.mail.bf2.yahoo.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726465AbfBHLcq (ORCPT ); Fri, 8 Feb 2019 06:32:46 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rogers.com; s=s2048; t=1549625565; bh=6IFS2FEybu6Deuj8YLoYYw65HWWJkXRNwApghVxAL9g=; h=From:To:Cc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.YTrZ5ZRCUx.psuXUy7n8xv8rKBinowc l8bumgL7AtjnvyK.11qOcqUkq9gEmhBhX5s1Ak5n3mYv10mVJAdzGM2vrG6jX.8A6U1oc_gJotH0 B6.BoXpJ8e1_WBE5WrG4dLK3aiiOVAtAAvQLgCqzVO0Ww0xWoSGlRMi4gqkMDRgrpCLj752A1Iie n.SsRb9HsTsz4vKiNj2Fe_qOllahJo0jCRSPf.Q9DpxVUWF5yPURv7ArTbdoRtROsKTi.eIQDKLU ouCMgs6G98.o0AuZ6j5LhPQTuRikswnrkQGoRvi1JGj3Cuog2m.HgMTFHM65M0SMxo4xNRcYsxNL VeNvfys.NZIq39VaQvPnbnHDhvqmalnXne_.zRrzBjIQZ7.JjLplB98YGAqBFdWYOXMc6.R7Xxqe P4GeFd4WMoUfjMaCypEiV4eM6 Received: from sonic.gate.mail.ne1.yahoo.com by sonic304.consmr.mail.bf2.yahoo.com with HTTP; Fri, 8 Feb 2019 11:32:45 +0000 Received: from CPE00fc8d49d843-CM00fc8d49d840.cpe.net.cable.rogers.com (EHLO localhost.localdomain) ([99.229.179.249]) by smtp402.mail.bf1.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID 504cd9d39616da7753eddd440dd16bee; Fri, 08 Feb 2019 11:32:44 +0000 (UTC) From: randall.s.becker@rogers.com To: git@vger.kernel.org Cc: "Randall S. Becker" Subject: [Fix v1] t5403: correct bash ambiguous redirect error in subtest 8 by quoting $GIT_DIR Date: Fri, 8 Feb 2019 06:32:33 -0500 Message-Id: <20190208113233.14544-1-randall.s.becker@rogers.com> X-Mailer: git-send-email 2.12.3 Sender: git-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: "Randall S. Becker" The embedded blanks in the full path of the test git repository cased bash to generate an ambugious redirect error. Signed-off-by: Randall S. Becker --- t/t5403-post-checkout-hook.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/t/t5403-post-checkout-hook.sh b/t/t5403-post-checkout-hook.sh index a539ffc08..a39b3b5c7 100755 --- a/t/t5403-post-checkout-hook.sh +++ b/t/t5403-post-checkout-hook.sh @@ -67,7 +67,7 @@ test_expect_success 'post-checkout is triggered on rebase with fast-forward' ' test_expect_success 'post-checkout hook is triggered by clone' ' mkdir -p templates/hooks && write_script templates/hooks/post-checkout <<-\EOF && - echo "$@" >$GIT_DIR/post-checkout.args + echo "$@" >"$GIT_DIR/post-checkout.args" EOF git clone --template=templates . clone3 && test -f clone3/.git/post-checkout.args