Thread (8 messages) flat view 8 messages, 3 authors, 2016-06-15

Re: [PATCH 1/4] test: add missing "&&" after echo command

From: Jeff King <hidden>
Date: 2016-06-15 22:52:35

On Wed, Dec 07, 2011 at 06:10:03PM -0500, Jeff King wrote:
On Wed, Dec 07, 2011 at 08:45:40AM -0600, Jonathan Nieder wrote:
quoted
diff --git a/t/t7501-commit.sh b/t/t7501-commit.sh
index 3ad04363..da75abc1 100755
--- a/t/t7501-commit.sh
+++ b/t/t7501-commit.sh
@@ -60,7 +60,7 @@ test_expect_success \
 
 test_expect_success \
 	"next commit" \
-	"echo 'bongo bongo bongo' >file \
+	"echo 'bongo bongo bongo' >file && \
 	 git commit -m next -a"
Patch is obviously correct, but isn't the "\" here just superfluous and
error-prone? Maybe it should just be dropped from the new version (and
possibly from other tests in t7501).
Oh, nevermind. I just read your patch 3, which does that and much more.
I approve.

-Peff
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help