Commit c5ebc4ac authored by James Hawkins's avatar James Hawkins Committed by Alexandre Julliard

kernel32: Fix a test that fails in win2k and up.

parent c009d1e9
......@@ -49,7 +49,7 @@ static void test_query_dos_deviceA(void)
static void test_FindFirstVolume(void)
{
char volume[50];
char volume[51];
HANDLE handle;
if (!pFindFirstVolumeA) {
......@@ -65,7 +65,7 @@ static void test_FindFirstVolume(void)
handle = pFindFirstVolumeA( volume, 49 );
ok( handle == INVALID_HANDLE_VALUE, "succeeded with short buffer\n" );
ok( GetLastError() == ERROR_FILENAME_EXCED_RANGE, "wrong error %u\n", GetLastError() );
handle = pFindFirstVolumeA( volume, 50 );
handle = pFindFirstVolumeA( volume, 51 );
ok( handle != INVALID_HANDLE_VALUE, "failed err %u\n", GetLastError() );
if (handle != INVALID_HANDLE_VALUE)
{
......
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