From: Piotr Caban Subject: msvcrt: Fix _popen test failures when path contains spaces Message-Id: <53550A15.9060405@codeweavers.com> Date: Mon, 21 Apr 2014 14:07:49 +0200 --- dlls/msvcrt/tests/misc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/msvcrt/tests/misc.c b/dlls/msvcrt/tests/misc.c index 3a72e68..523d277 100644 --- a/dlls/msvcrt/tests/misc.c +++ b/dlls/msvcrt/tests/misc.c @@ -327,7 +327,7 @@ static void test__popen(const char *name) char buf[1024]; int ret; - sprintf(buf, "%s misc popen", name); + sprintf(buf, "\"%s\" misc popen", name); pipe = _popen(buf, "r"); ok(pipe != NULL, "_popen failed with error: %d\n", errno);