Ge van Geldorp : kernel32/tests: Add acceptable error codes for Win7 process test.
Alexandre Julliard
julliard at winehq.org
Tue Oct 6 10:35:49 CDT 2009
Module: wine
Branch: master
Commit: 6571d1e4a809c046f86d371413ead361f09c2f63
URL: http://source.winehq.org/git/wine.git/?a=commit;h=6571d1e4a809c046f86d371413ead361f09c2f63
Author: Ge van Geldorp <ggeldorp at vmware.com>
Date: Mon Sep 17 00:00:00 2001 +0200
kernel32/tests: Add acceptable error codes for Win7 process test.
---
dlls/kernel32/tests/process.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/dlls/kernel32/tests/process.c b/dlls/kernel32/tests/process.c
index 5d8f65b..36c86e2 100644
--- a/dlls/kernel32/tests/process.c
+++ b/dlls/kernel32/tests/process.c
@@ -955,7 +955,8 @@ static void test_CommandLine(void)
ok(!ret, "CreateProcessA unexpectedly succeeded\n");
ok(GetLastError() == ERROR_FILE_NOT_FOUND ||
GetLastError() == ERROR_PATH_NOT_FOUND /* NT4 */ ||
- GetLastError() == ERROR_BAD_PATHNAME /* Win98 */,
+ GetLastError() == ERROR_BAD_PATHNAME /* Win98 */ ||
+ GetLastError() == ERROR_INVALID_PARAMETER /* Win7 */,
"Expected ERROR_FILE_NOT_FOUND, got %d\n", GetLastError());
strcpy(buffer, "doesnotexist.exe");
More information about the wine-cvs
mailing list