From 66f010e123910707a5aee9e9138e0a430192272a Mon Sep 17 00:00:00 2001 From: Stefan Leichter Date: Wed, 27 Aug 2008 20:10:50 +0200 Subject: [PATCH] rasapi32: Fix tests on platforms winme and some win98. --- dlls/rasapi32/tests/rasapi.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/dlls/rasapi32/tests/rasapi.c b/dlls/rasapi32/tests/rasapi.c index bcd43100537..a997e02d87f 100644 --- a/dlls/rasapi32/tests/rasapi.c +++ b/dlls/rasapi32/tests/rasapi.c @@ -59,6 +59,10 @@ static void test_rasenum(void) win_skip("RAS configuration problem\n"); return; } + if(ERROR_SUCCESS == result) { + win_skip("RasEnumDevicesA found nothing to enumerate\n"); + return; + } trace("RasEnumDevicesA: returned %d buffersize %d\n", result, cb); ok(result == ERROR_BUFFER_TOO_SMALL, "Expected ERROR_BUFFER_TOO_SMALL, got %08d\n", result);