summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2018-07-17 14:33:31 -0400
committerNick Mathewson <nickm@torproject.org>2018-07-17 14:33:31 -0400
commitc7dcf252fd509714d7607d89b7416ffb313d8365 (patch)
tree2d2dc0fc09000abeacc7370292eb2282c1a88d3e
parent5aaea38d889ae558ea0e9b01b4c5b58f3935b542 (diff)
parent46501cdd1821812c8ec5a0008af3dca6365f5b96 (diff)
downloadtor-c7dcf252fd509714d7607d89b7416ffb313d8365.tar.gz
tor-c7dcf252fd509714d7607d89b7416ffb313d8365.zip
Merge remote-tracking branch 'ahf-github/bugs/26437'
-rw-r--r--changes/bug264373
-rw-r--r--src/ext/tinytest.c2
2 files changed, 4 insertions, 1 deletions
diff --git a/changes/bug26437 b/changes/bug26437
new file mode 100644
index 0000000000..da4879b6d0
--- /dev/null
+++ b/changes/bug26437
@@ -0,0 +1,3 @@
+ o Testing:
+ - Fix forking tests on Windows when there is a space somewhere in the path.
+ Fixes bug 26437; bugfix on 0.2.2.4-alpha.
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));