git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
* [Breakage] Git v2.21.0-rc0 - t5403 (NonStop)
@ 2019-02-08 10:48 Randall S. Becker
  2019-02-08 10:55 ` Johannes Schindelin
  2019-02-08 11:10 ` SZEDER Gábor
  0 siblings, 2 replies; 8+ messages in thread
From: Randall S. Becker @ 2019-02-08 10:48 UTC (permalink / raw)
  To: 'Junio C Hamano', git; +Cc: 'Linux Kernel', git-packagers

Hi All,

We have a few new breakages on the NonStop port in 2.21.0-rc0. The first is in t5403, as below:

/home/git/git/t/trash directory.t5403-post-checkout-hook/clone3/.git/hooks/post-checkout: line 2: $GIT_DIR/post-checkout.args: ambiguous redirect
not ok 8 - post-checkout hook is triggered by clone
#
#               mkdir -p templates/hooks &&
#               write_script templates/hooks/post-checkout <<-\EOF &&
#               echo "$@" >$GIT_DIR/post-checkout.args
#               EOF
#               git clone --template=templates . clone3 &&
#               test -f clone3/.git/post-checkout.args
#

The post-checkout hook is:
#!/usr/local/bin/bash
echo "$@" >$GIT_DIR/post-checkout.args

This looks like it is a "bash thing" and $GIT_DIR might have to be in quotes, and is not be specific to the platform. If I replace 

echo "$@" >$GIT_DIR/post-checkout.args

with

echo "$@" >"$GIT_DIR/post-checkout.args"

The test passes. I wonder I should provide this patch or whether the author would like to do so.

Thanks,
Randall


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2019-02-09  6:50 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-02-08 10:48 [Breakage] Git v2.21.0-rc0 - t5403 (NonStop) Randall S. Becker
2019-02-08 10:55 ` Johannes Schindelin
2019-02-08 10:58   ` Randall S. Becker
2019-02-08 11:10 ` SZEDER Gábor
2019-02-08 11:36   ` Randall S. Becker
2019-02-08 20:11   ` Todd Zullinger
2019-02-08 20:30     ` SZEDER Gábor
2019-02-09  6:48       ` Todd Zullinger

Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).