kernel32/tests: Add one more possible error code.

This commit is contained in:
Alexandre Julliard 2009-08-05 13:52:42 +02:00
parent 148551f900
commit 8c700d2b3b
1 changed files with 2 additions and 0 deletions

View File

@ -125,6 +125,7 @@ static void test_GetDiskFreeSpaceA(void)
GetLastError() == ERROR_INVALID_DRIVE ||
GetLastError() == ERROR_PATH_NOT_FOUND ||
GetLastError() == ERROR_REQUEST_ABORTED ||
GetLastError() == ERROR_NETNAME_DELETED ||
GetLastError() == ERROR_UNRECOGNIZED_VOLUME,
"GetDiskFreeSpaceA(%s): ret=%d GetLastError=%d\n",
drive, ret, GetLastError());
@ -144,6 +145,7 @@ static void test_GetDiskFreeSpaceA(void)
GetLastError() == ERROR_INVALID_FUNCTION ||
GetLastError() == ERROR_PATH_NOT_FOUND ||
GetLastError() == ERROR_REQUEST_ABORTED ||
GetLastError() == ERROR_NETNAME_DELETED ||
GetLastError() == ERROR_UNRECOGNIZED_VOLUME,
"GetDiskFreeSpaceExA( %s ) failed. GetLastError=%d\n", drive, GetLastError());
ok( bytes_per_sector == 0 || /* empty cd rom drive */