Merge remote-tracking branch 'ahf-github/bugs/26437'

This commit is contained in:
Nick Mathewson 2018-07-17 14:33:31 -04:00
commit c7dcf252fd
2 changed files with 4 additions and 1 deletions

3
changes/bug26437 Normal file
View File

@ -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.

View File

@ -145,7 +145,7 @@ testcase_run_forked_(const struct testgroup_t *group,
if (opt_verbosity>0) if (opt_verbosity>0)
printf("[forking] "); 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); commandname, verbosity_flag, group->prefix, testcase->name);
memset(&si, 0, sizeof(si)); memset(&si, 0, sizeof(si));