git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
* git 2.10.1 test regression in t4014-format-patch.sh
@ 2016-10-10  0:15 Jeremy Huddleston Sequoia
  2016-10-10  0:18 ` Josh Triplett
  0 siblings, 1 reply; 3+ messages in thread
From: Jeremy Huddleston Sequoia @ 2016-10-10  0:15 UTC (permalink / raw)
  To: Josh Triplett; +Cc: gitster, git

[-- Attachment #1: Type: text/plain, Size: 2040 bytes --]

Hey Josh,

Hope you're doing well.

I wanted to let you know that this patch of yours, which landed in git 2.10.1, introduced some test failures, seen on macOS.

Let me know if you need any additional information to track these down.

Thanks,
Jeremy


not ok 65 - format-patch default signature
#	
#		git format-patch --stdout -1 | tail -n 3 >output &&
#		signature >expect &&
#		test_cmp expect output
#	

not ok 132 - format-patch --base
#	
#		git checkout side &&
#		git format-patch --stdout --base=HEAD~3 -1 | tail -n 7 >actual &&
#		echo >expected &&
#		echo "base-commit: $(git rev-parse HEAD~3)" >>expected &&
#		echo "prerequisite-patch-id: $(git show --patch HEAD~2 | git patch-id --stable | awk "{print \$1}")" >>expected &&
#		echo "prerequisite-patch-id: $(git show --patch HEAD~1 | git patch-id --stable | awk "{print \$1}")" >>expected &&
#		signature >> expected &&
#		test_cmp expected actual
#	


commit 480871e09ed2e5275b4ba16b278681e5a8c122ae
Author: Josh Triplett <josh@joshtriplett.org>
Date:   Wed Sep 7 18:12:01 2016 -0700

    format-patch: show base info before email signature
    
    Any text below the "-- " for the email signature gets treated as part of
    the signature, and many mail clients will trim it from the quoted text
    for a reply.  Move it above the signature, so people can reply to it
    more easily.
    
    Similarly, when producing the patch as a MIME attachment, the
    original code placed the base info after the attached part, which
    would be discarded.  Move the base info to the end of the part,
    still inside the part boundary.
    
    Add tests for the exact format of the email signature, and add tests
    to ensure that the base info appears before the email signature when
    producing a plain-text output, and that it appears before the part
    boundary when producing a MIME attachment.
    
    Signed-off-by: Josh Triplett <josh@joshtriplett.org>
    Signed-off-by: Junio C Hamano <gitster@pobox.com>



[-- Attachment #2: smime.p7s --]
[-- Type: application/pkcs7-signature, Size: 4465 bytes --]

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

* Re: git 2.10.1 test regression in t4014-format-patch.sh
  2016-10-10  0:15 git 2.10.1 test regression in t4014-format-patch.sh Jeremy Huddleston Sequoia
@ 2016-10-10  0:18 ` Josh Triplett
  2016-10-10  2:55   ` Jeremy Huddleston Sequoia
  0 siblings, 1 reply; 3+ messages in thread
From: Josh Triplett @ 2016-10-10  0:18 UTC (permalink / raw)
  To: Jeremy Huddleston Sequoia; +Cc: gitster, git

On October 9, 2016 5:15:22 PM PDT, Jeremy Huddleston Sequoia <jeremyhu@freedesktop.org> wrote:
>Hey Josh,
>
>Hope you're doing well.
>
>I wanted to let you know that this patch of yours, which landed in git
>2.10.1, introduced some test failures, seen on macOS.
>
>Let me know if you need any additional information to track these down.
>
>Thanks,
>Jeremy
>
>
>not ok 65 - format-patch default signature
>#	
>#		git format-patch --stdout -1 | tail -n 3 >output &&
>#		signature >expect &&
>#		test_cmp expect output
>#	
>
>not ok 132 - format-patch --base
>#	
>#		git checkout side &&
>#		git format-patch --stdout --base=HEAD~3 -1 | tail -n 7 >actual &&
>#		echo >expected &&
>#		echo "base-commit: $(git rev-parse HEAD~3)" >>expected &&
>#		echo "prerequisite-patch-id: $(git show --patch HEAD~2 | git
>patch-id --stable | awk "{print \$1}")" >>expected &&
>#		echo "prerequisite-patch-id: $(git show --patch HEAD~1 | git
>patch-id --stable | awk "{print \$1}")" >>expected &&
>#		signature >> expected &&
>#		test_cmp expected actual
>#	

Can you run the test with the option to show the expected and actual strings?

Did the testsuite run with the wrong git somehow?



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

* Re: git 2.10.1 test regression in t4014-format-patch.sh
  2016-10-10  0:18 ` Josh Triplett
@ 2016-10-10  2:55   ` Jeremy Huddleston Sequoia
  0 siblings, 0 replies; 3+ messages in thread
From: Jeremy Huddleston Sequoia @ 2016-10-10  2:55 UTC (permalink / raw)
  To: Josh Triplett; +Cc: gitster, git

[-- Attachment #1: Type: text/plain, Size: 1833 bytes --]


> On Oct 9, 2016, at 17:18, Josh Triplett <josh@joshtriplett.org> wrote:
> 
> On October 9, 2016 5:15:22 PM PDT, Jeremy Huddleston Sequoia <jeremyhu@freedesktop.org> wrote:
>> Hey Josh,
>> 
>> Hope you're doing well.
>> 
>> I wanted to let you know that this patch of yours, which landed in git
>> 2.10.1, introduced some test failures, seen on macOS.
>> 
>> Let me know if you need any additional information to track these down.
>> 
>> Thanks,
>> Jeremy
>> 
>> 
>> not ok 65 - format-patch default signature
>> #	
>> #		git format-patch --stdout -1 | tail -n 3 >output &&
>> #		signature >expect &&
>> #		test_cmp expect output
>> #	
>> 
>> not ok 132 - format-patch --base
>> #	
>> #		git checkout side &&
>> #		git format-patch --stdout --base=HEAD~3 -1 | tail -n 7 >actual &&
>> #		echo >expected &&
>> #		echo "base-commit: $(git rev-parse HEAD~3)" >>expected &&
>> #		echo "prerequisite-patch-id: $(git show --patch HEAD~2 | git
>> patch-id --stable | awk "{print \$1}")" >>expected &&
>> #		echo "prerequisite-patch-id: $(git show --patch HEAD~1 | git
>> patch-id --stable | awk "{print \$1}")" >>expected &&
>> #		signature >> expected &&
>> #		test_cmp expected actual
>> #	
> 
> Can you run the test with the option to show the expected and actual strings?
> Did the testsuite run with the wrong git somehow?

Nope, it's the right version being tested.  The failure seems due to your git_version change not liking our formatting

$ git --version
git version 2.10.1 (Apple Git-99)

(the 'Apple Git-XX' being added because this was from a build that had Apple's patch series, including https://github.com/jeremyhu/git/commit/f99905d0752d923e5ec61e14c675a300c6d04284)

We modify DEF_VER, which confused your regex.  Simple patch inc in a separate email.

Thanks,
Jeremy


[-- Attachment #2: smime.p7s --]
[-- Type: application/pkcs7-signature, Size: 4465 bytes --]

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

end of thread, other threads:[~2016-10-10  2:55 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-10-10  0:15 git 2.10.1 test regression in t4014-format-patch.sh Jeremy Huddleston Sequoia
2016-10-10  0:18 ` Josh Triplett
2016-10-10  2:55   ` Jeremy Huddleston Sequoia

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).