git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] t1800: correct test to handle Cygwin

From
Đoàn Trần Công Danh <congdanhqx@gmail.com>
Date
Sep 2, 2022, 01:55 UTC
Message-ID
<YxFinAJ2NeKiHaS8@danh.dev>
In-Reply-To
<xmqqedwv9c9f.fsf@gitster.g>
On 2022-09-01 11:32:12-0700, Junio C Hamano <gitster@pobox.com> wrote:
Show 12 quoted lines
> In any case, thanks for a fix.  Will queue.
> 
> >  t/t1800-hook.sh | 2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/t/t1800-hook.sh b/t/t1800-hook.sh
> > index 64096adac7..fae8b2faf9 100755
> > --- a/t/t1800-hook.sh
> > +++ b/t/t1800-hook.sh
> > @@ -159,7 +159,7 @@ test_expect_success 'git hook run a hook with a bad shebang' '
> >  	# TODO: We should emit the same (or at least a more similar)
> >  	# error on Windows and !Windows. See the OS-specific code in

Please also change the comment here too. I'm not sure what should be put in the comment here, though. Maybe on MINGW and other platforms?

Show 6 quoted lines
> >  	# start_command()
> > -	if test_have_prereq !WINDOWS
> > +	if test_have_prereq !MINGW
> >  	then
> >  		cat >expect <<-\EOF
> >  		fatal: cannot run bad-hooks/test-hook: ...
-- 
Danh
Previous: Junio C HamanoNext: Johannes Schindelin
Message 3 of 10 in “t1800: correct test to handle Cygwin”
  1. t1800: correct test to handle CygwinAdam Dinwoodie, Sep 1, 2022
  2. Junio C HamanoSep 1, 2022
  3. Đoàn Trần Công DanhSep 2, 2022
  4. Johannes SchindelinSep 2, 2022
  5. Junio C HamanoSep 7, 2022
  6. rsbecker@nexbridge.comSep 7, 2022
  7. Adam DinwoodieSep 13, 2022
  8. Junio C HamanoSep 13, 2022
  9. t1800: correct test to handle CygwinAdam Dinwoodie, Sep 15, 2022
  10. rsbecker@nexbridge.comSep 15, 2022

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.