rasapi32: Fix tests on platforms winme and some win98.

This commit is contained in:
Stefan Leichter 2008-08-27 20:10:50 +02:00 committed by Alexandre Julliard
parent 2d02ec7488
commit 66f010e123
1 changed files with 4 additions and 0 deletions

View File

@ -59,6 +59,10 @@ static void test_rasenum(void)
win_skip("RAS configuration problem\n"); win_skip("RAS configuration problem\n");
return; return;
} }
if(ERROR_SUCCESS == result) {
win_skip("RasEnumDevicesA found nothing to enumerate\n");
return;
}
trace("RasEnumDevicesA: returned %d buffersize %d\n", result, cb); trace("RasEnumDevicesA: returned %d buffersize %d\n", result, cb);
ok(result == ERROR_BUFFER_TOO_SMALL, ok(result == ERROR_BUFFER_TOO_SMALL,
"Expected ERROR_BUFFER_TOO_SMALL, got %08d\n", result); "Expected ERROR_BUFFER_TOO_SMALL, got %08d\n", result);