Commit 8c700d2b authored by Alexandre Julliard's avatar Alexandre Julliard

kernel32/tests: Add one more possible error code.

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