]> git.ipfire.org Git - thirdparty/git.git/blobdiff - t/t7415-submodule-names.sh
Merge branch 'js/mingw-loosen-overstrict-tree-entry-checks'
[thirdparty/git.git] / t / t7415-submodule-names.sh
index 7ae0dc8ff47ee763089284784e6acdbbdbdb4625..f70368bc2e9d42cc578ed4b46edac324bd1dddf1 100755 (executable)
@@ -209,7 +209,7 @@ test_expect_success MINGW 'prevent git~1 squatting on Windows' '
                hash="$(echo x | git hash-object -w --stdin)" &&
                test_must_fail git update-index --add \
                        --cacheinfo 160000,$rev,d\\a 2>err &&
-               test_i18ngrep backslash err &&
+               test_i18ngrep "Invalid path" err &&
                git -c core.protectNTFS=false update-index --add \
                        --cacheinfo 100644,$modules,.gitmodules \
                        --cacheinfo 160000,$rev,c \