git-submodule: forward exit code of git-submodule--helper more faithfully
[gitweb.git] / t / t7400-submodule-basic.sh
index 3570f7bb8c8955a1bf519eda3278392d249e6fd1..fba2659a22a9f73e30b1f473ee83cf6c625f4f6a 100755 (executable)
@@ -352,7 +352,7 @@ test_expect_success 'sync should fail with unknown submodule' '
        test_failure_with_unknown_submodule sync
 '
 
-test_expect_success 'update should fail when path is used by a file' '
+test_expect_failure 'update should fail when path is used by a file' '
        echo hello >expect &&
 
        echo "hello" >init &&
@@ -361,7 +361,7 @@ test_expect_success 'update should fail when path is used by a file' '
        test_cmp expect init
 '
 
-test_expect_success 'update should fail when path is used by a nonempty directory' '
+test_expect_failure 'update should fail when path is used by a nonempty directory' '
        echo hello >expect &&
 
        rm -fr init &&