mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-05 18:01:34 +00:00
Check for ERROR_CALL_NOT_IMPLEMENTED error from RemoveDirectoryW.
This commit is contained in:
parent
477023768e
commit
2402f21b41
1 changed files with 3 additions and 0 deletions
|
@ -311,6 +311,9 @@ static void test_RemoveDirectoryW(void)
|
|||
GetTempPathW(MAX_PATH, tmpdir);
|
||||
lstrcatW(tmpdir, tmp_dir_name);
|
||||
ret = CreateDirectoryW(tmpdir, NULL);
|
||||
if (!ret && GetLastError()==ERROR_CALL_NOT_IMPLEMENTED)
|
||||
return;
|
||||
|
||||
ok(ret == TRUE, "CreateDirectoryW should always succeed");
|
||||
|
||||
ret = RemoveDirectoryW(tmpdir);
|
||||
|
|
Loading…
Reference in a new issue