]> git.ipfire.org Git - thirdparty/git.git/blobdiff - t/t7403-submodule-sync.sh
submodule: fix sync handling of some relative superproject origin URLs
[thirdparty/git.git] / t / t7403-submodule-sync.sh
index 56b933da45a761988a278c1edc53bb6c724e0c77..98bc74a4e9cc3b5b122cc114e1ec357828c1dc06 100755 (executable)
@@ -99,7 +99,7 @@ test_expect_failure '"git submodule sync" handles origin URL of the form foo' '
        )
 '
 
-test_expect_failure '"git submodule sync" handles origin URL of the form foo/bar' '
+test_expect_success '"git submodule sync" handles origin URL of the form foo/bar' '
        (cd relative-clone &&
         git remote set-url origin foo/bar &&
         git submodule sync &&
@@ -132,7 +132,7 @@ test_expect_failure '"git submodule sync" handles origin URL of the form ./foo/b
        )
 '
 
-test_expect_failure '"git submodule sync" handles origin URL of the form ../foo' '
+test_expect_success '"git submodule sync" handles origin URL of the form ../foo' '
        (cd relative-clone &&
         git remote set-url origin ../foo &&
         git submodule sync &&
@@ -143,7 +143,7 @@ test_expect_failure '"git submodule sync" handles origin URL of the form ../foo'
        )
 '
 
-test_expect_failure '"git submodule sync" handles origin URL of the form ../foo/bar' '
+test_expect_success '"git submodule sync" handles origin URL of the form ../foo/bar' '
        (cd relative-clone &&
         git remote set-url origin ../foo/bar &&
         git submodule sync &&
@@ -154,7 +154,7 @@ test_expect_failure '"git submodule sync" handles origin URL of the form ../foo/
        )
 '
 
-test_expect_failure '"git submodule sync" handles origin URL of the form ../foo/bar with deeply nested submodule' '
+test_expect_success '"git submodule sync" handles origin URL of the form ../foo/bar with deeply nested submodule' '
        (cd relative-clone &&
         git remote set-url origin ../foo/bar &&
         mkdir -p a/b/c &&