Skip to contentSkip to conversation

t0026: Add missing &&

PATCH In review Torsten Bögershausen 2 participants 2 messages Jun 15, 2016

lore
Share & tools
lore
#0 lore raw

PATCH v2 3/3 t0026: Add missing &&

Fix the broken && chain

---
 t/t0026-eol-config.sh | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
t/t0026-eol-config.sh +3 -3
index 43a580a..4806969 100755
@@ -84,9 +84,9 @@ test_expect_success NATIVE_CRLF 'eol native is crlf' '
 
 	rm -rf native_eol && mkdir native_eol &&
 	( cd native_eol &&
-	printf "*.txt text\n" > .gitattributes
-	printf "one\r\ntwo\r\nthree\r\n" > filedos.txt
-	printf "one\ntwo\nthree\n" > fileunix.txt
+	printf "*.txt text\n" > .gitattributes &&
+	printf "one\r\ntwo\r\nthree\r\n" > filedos.txt &&
+	printf "one\ntwo\nthree\n" > fileunix.txt &&
 	git init &&
 	git config core.autocrlf false &&
 	git config core.eol native &&
Signature · 1 line
2.1.0.rc2.210.g636bceb
#1 lore raw
Quoted 5 lines · Torsten Bögershausen

Fix the broken && chain

---

Please fold this kind of "oops fix breakages discovered in the version that hasn't been reached 'next'" to the patch that introduces the breakage, with "Helped-by: whom".

Thanks.

Quoted 20 lines
 t/t0026-eol-config.sh | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
t/t0026-eol-config.sh +3 -3
index 43a580a..4806969 100755
@@ -84,9 +84,9 @@ test_expect_success NATIVE_CRLF 'eol native is crlf' '
 
 	rm -rf native_eol && mkdir native_eol &&
 	( cd native_eol &&
-	printf "*.txt text\n" > .gitattributes
-	printf "one\r\ntwo\r\nthree\r\n" > filedos.txt
-	printf "one\ntwo\nthree\n" > fileunix.txt
+	printf "*.txt text\n" > .gitattributes &&
+	printf "one\r\ntwo\r\nthree\r\n" > filedos.txt &&
+	printf "one\ntwo\nthree\n" > fileunix.txt &&
 	git init &&
 	git config core.autocrlf false &&
 	git config core.eol native &&