summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2019-07-29 19:38:17 (GMT)
committerJunio C Hamano <gitster@pobox.com>2019-07-29 19:38:17 (GMT)
commit2f72ebfcd02b06a19e6c5429fcfc78b5fc754144 (patch)
tree0b83fd7835ecd4e390e5814a7cecf56f461c3cba /t
parentc5d81d7f5938909544e86d503d2c7cbc2f600e2f (diff)
parenteb7c78631445f35737d059bea23174d972cf7ca3 (diff)
downloadgit-2f72ebfcd02b06a19e6c5429fcfc78b5fc754144.zip
git-2f72ebfcd02b06a19e6c5429fcfc78b5fc754144.tar.gz
git-2f72ebfcd02b06a19e6c5429fcfc78b5fc754144.tar.bz2
Merge branch 'js/mingw-spawn-with-spaces-in-path' into maint
Window 7 update ;-) * js/mingw-spawn-with-spaces-in-path: mingw: support spawning programs containing spaces in their names
Diffstat (limited to 't')
-rwxr-xr-xt/t0061-run-command.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/t/t0061-run-command.sh b/t/t0061-run-command.sh
index ebc4956..015fac8 100755
--- a/t/t0061-run-command.sh
+++ b/t/t0061-run-command.sh
@@ -210,4 +210,10 @@ test_expect_success MINGW 'verify curlies are quoted properly' '
test_cmp expect actual
'
+test_expect_success MINGW 'can spawn with argv[0] containing spaces' '
+ cp "$GIT_BUILD_DIR/t/helper/test-fake-ssh$X" ./ &&
+ test_must_fail "$PWD/test-fake-ssh$X" 2>err &&
+ grep TRASH_DIRECTORY err
+'
+
test_done