Skip to contentSkip to conversation

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

PATCH In review Ramsay Jones 2 participants 2 messages Jun 15, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 t7502-commit.sh: fix a broken and-chain

---

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(-)
t/t7502-commit.sh +1 -1
index 051489e..2e0d557 100755
@@ -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 &&
Signature · 1 line
2.3.0
#1 lore raw

t/t7502-commit.sh exit 0 · line 373

Quoted 9 lines · Ramsay Jones

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' '

t/t7502-commit.sh +1 -1
-	>.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