threads / patch / 39179

patcht7502-commit.sh: fix a broken and-chain

Subject: [PATCH] t7502-commit.sh: fix a broken and-chain

## tl;dr

2 messages between Apr 28, 2015 and Apr 29, 2015. Diffs are folded; open one to read it.

replies: 1people: 2as markdown or json

Ramsay Jones· Apr 28, 2015, 12:04 UTC · lore
Signed-off-by: Ramsay Jones <ramsay@ramsay1.demon.co.uk>
---
Hi Junio,

This test recently started failing for me. I haven't heard anyone else complaining about this, so maybe I should look into why my environment may be different to everyone else ... :-D (when I can find some time, of course!)

ATB, Ramsay Jones

 t/t7502-commit.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Show changes to t/t7502-commit.sh +1 −1
diff --git a/t/t7502-commit.sh b/t/t7502-commit.sh
index 051489e..2e0d557 100755
--- a/t/t7502-commit.sh
+++ b/t/t7502-commit.sh
@@ -370,7 +370,7 @@ exit 0
 EOF
 
 test_expect_success !AUTOIDENT 'do not fire editor when committer is bogus' '
-	>.git/result
+	>.git/result &&
 	>expect &&
 
 	echo >>negative &&
-- 
2.3.0
Jeff King· Apr 29, 2015, 02:11 UTC · re: Ramsay Jones · lore

Re: [PATCH] t7502-commit.sh: fix a broken and-chain

On Tue, Apr 28, 2015 at 01:04:44PM +0100, Ramsay Jones wrote:
Show 9 quoted lines
> This test recently started failing for me. I haven't heard anyone
> else complaining about this, so maybe I should look into why my
> environment may be different to everyone else ... :-D (when I can
> find some time, of course!)
>
> [...]
>  test_expect_success !AUTOIDENT 'do not fire editor when committer is bogus' '
> -	>.git/result
> +	>.git/result &&

It looks like 92b269f (test-lib: turn on GIT_TEST_CHAIN_LINT by default, 2015-04-22) made it into pu recently, so you are probably just the first person to test it whose system matches !AUTOIDENT (which in turn is based on things like whether we can come up with a plausible-looking email from your system).

Patch itself is obviously correct, and it looks like Junio has already picked it up for pu. Thanks.

-Peff

← back to recent threads