Browse Source

t7403: add missing && chaining

Signed-off-by: John Keeping <john@keeping.me.uk>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
maint
John Keeping 12 years ago committed by Junio C Hamano
parent
commit
a82af0543a
  1. 4
      t/t7403-submodule-sync.sh

4
t/t7403-submodule-sync.sh

@ -174,7 +174,7 @@ test_expect_success '"git submodule sync" handles origin URL of the form foo/bar @@ -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 @@ -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"

Loading…
Cancel
Save