msvcrt/tests: Fix _popen test failures when path contains spaces.

This commit is contained in:
Piotr Caban 2014-04-21 14:07:49 +02:00 committed by Alexandre Julliard
parent 2518b8f31b
commit 1d865f90d6

View File

@ -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);