-sync kernel32_winetest with wine 1.1.32

svn path=/trunk/; revision=43744
This commit is contained in:
Christoph von Wittich 2009-10-25 16:21:40 +00:00
parent 01a9e7493e
commit abc34f7dad
15 changed files with 451 additions and 295 deletions

View file

@ -35,8 +35,6 @@
#include "wine/test.h"
#define PROCESS_NAME_NATIVE 1
#define expect_eq_d(expected, actual) \
do { \
int value = (actual); \
@ -957,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");