mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-05 18:01:34 +00:00
kernel32/tests: Add another error code in the CreateDirectory test.
This commit is contained in:
parent
e1b80a04a0
commit
5d0f3aa33b
1 changed files with 1 additions and 1 deletions
|
@ -363,7 +363,7 @@ static void test_CreateDirectoryW(void)
|
|||
GetTempPathW(MAX_PATH, tmpdir);
|
||||
tmpdir[3] = 0; /* truncate the path */
|
||||
ret = CreateDirectoryW(tmpdir, NULL);
|
||||
ok(ret == FALSE && GetLastError() == ERROR_ACCESS_DENIED,
|
||||
ok(ret == FALSE && (GetLastError() == ERROR_ACCESS_DENIED || GetLastError() == ERROR_ALREADY_EXISTS),
|
||||
"should deny access to the drive root ret %u err %u\n", ret, GetLastError());
|
||||
|
||||
GetTempPathW(MAX_PATH, tmpdir);
|
||||
|
|
Loading…
Reference in a new issue