Imported Upstream version 2.22.3
[platform/upstream/git.git] / t / t3703-add-magic-pathspec.sh
index 5115de7..3ef525a 100755 (executable)
@@ -38,7 +38,7 @@ cat >expected <<EOF
 add 'sub/foo'
 EOF
 
-if mkdir ":" 2>/dev/null
+if test_have_prereq !MINGW && mkdir ":" 2>/dev/null
 then
        test_set_prereq COLON_DIR
 fi