git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH v4 3/6] t7403: add missing && chaining

From
John Keeping <john@keeping.me.uk>
Date
Jun 16, 2013, 14:18 UTC
Message-ID
<1f972ee320a1d59c516a962adb853561233c17f7.1371391740.git.john@keeping.me.uk>
In-Reply-To
<cover.1371391740.git.john@keeping.me.uk>
Signed-off-by: John Keeping <john@keeping.me.uk>
---
 t/t7403-submodule-sync.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/t/t7403-submodule-sync.sh b/t/t7403-submodule-sync.sh
index 38f6cc4..bf90098 100755
--- a/t/t7403-submodule-sync.sh
+++ b/t/t7403-submodule-sync.sh
@@ -174,7 +174,7 @@ test_expect_success '"git submodule sync" handles origin URL of the form foo/bar
 			cd submodule &&
 			#actual foo/submodule
 			test "$(git config remote.origin.url)" = "../foo/submodule"
-		)
+		) &&
 		(
 			cd submodule/sub-submodule &&
 			test "$(git config remote.origin.url)" != "../../foo/submodule"
@@ -191,7 +191,7 @@ test_expect_success '"git submodule sync --recursive" propagates changes in orig
 			cd submodule &&
 			#actual foo/submodule
 			test "$(git config remote.origin.url)" = "../foo/submodule"
-		)
+		) &&
 		(
 			cd submodule/sub-submodule &&
 			test "$(git config remote.origin.url)" = "../../foo/submodule"
-- 
1.8.3.779.g691e267
Previous: John KeepingNext: John Keeping
Message 4 of 8 in “submodule: drop the top-level requirement”
  1. 0/6 submodule: drop the top-level requirementJohn Keeping, Jun 16, 2013
  2. 1/6 t7401: make indentation consistentJohn Keeping, Jun 16, 2013
  3. 2/6 t7403: modernize styleJohn Keeping, Jun 16, 2013
  4. 3/6 t7403: add missing && chainingJohn Keeping, Jun 16, 2013
  5. 4/6 submodule: show full path in error messageJohn Keeping, Jun 16, 2013
  6. 5/6 rev-parse: add --prefix optionJohn Keeping, Jun 16, 2013
  7. 6/6 submodule: drop the top-level requirementJohn Keeping, Jun 16, 2013
  8. Jens LehmannJun 17, 2013

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.