summaryrefslogtreecommitdiff
path: root/src/ext
diff options
context:
space:
mode:
authorAlexander Færøy <ahf@torproject.org>2018-06-21 04:32:42 +0200
committerAlexander Færøy <ahf@torproject.org>2018-07-13 12:46:18 +0200
commit46501cdd1821812c8ec5a0008af3dca6365f5b96 (patch)
tree510c99da010d083d9e581de2aebc9e3c41544fc8 /src/ext
parentd2bd358924802b2bf0f3ecf8fb73aae83382a3df (diff)
downloadtor-46501cdd1821812c8ec5a0008af3dca6365f5b96.tar.gz
tor-46501cdd1821812c8ec5a0008af3dca6365f5b96.zip
Fix forking tests on Windows when there is a space in the path.
See: https://bugs.torproject.org/26437
Diffstat (limited to 'src/ext')
-rw-r--r--src/ext/tinytest.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ext/tinytest.c b/src/ext/tinytest.c
index 3fb1b39c71..df2cc0b584 100644
--- a/src/ext/tinytest.c
+++ b/src/ext/tinytest.c
@@ -145,7 +145,7 @@ testcase_run_forked_(const struct testgroup_t *group,
if (opt_verbosity>0)
printf("[forking] ");
- snprintf(buffer, sizeof(buffer), "%s --RUNNING-FORKED %s %s%s",
+ snprintf(buffer, sizeof(buffer), "\"%s\" --RUNNING-FORKED %s %s%s",
commandname, verbosity_flag, group->prefix, testcase->name);
memset(&si, 0, sizeof(si));