Commit 2402f21b authored by Hans Leidekker's avatar Hans Leidekker Committed by Alexandre Julliard

Check for ERROR_CALL_NOT_IMPLEMENTED error from RemoveDirectoryW.

parent 47702376
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment