]> git.ipfire.org Git - thirdparty/git.git/blobdiff - t/t3600-rm.sh
t/t3NNN: allow local submodules
[thirdparty/git.git] / t / t3600-rm.sh
index efec8d13b661826af434db6b891a404118301735..99dab763325d9c2f8b7afd4889dc1166474dd909 100755 (executable)
@@ -321,7 +321,7 @@ test_expect_success 'rm removes empty submodules from work tree' '
 
 test_expect_success 'rm removes removed submodule from index and .gitmodules' '
        git reset --hard &&
-       git submodule update &&
+       git -c protocol.file.allow=always submodule update &&
        rm -rf submod &&
        git rm submod &&
        git status -s -uno --ignore-submodules=none >actual &&
@@ -627,6 +627,7 @@ cat >expect.deepmodified <<EOF
 EOF
 
 test_expect_success 'setup subsubmodule' '
+       test_config_global protocol.file.allow always &&
        git reset --hard &&
        git submodule update &&
        (