Commit b0da2a2e authored by Paul Vriens's avatar Paul Vriens Committed by Alexandre Julliard

winspool.drv/tests: Fix a test failure on NT4 and below.

parent b91cf321
......@@ -1222,6 +1222,11 @@ static void test_EnumPrinterDrivers(void)
skip("no printer drivers found\n");
return;
}
if (GetLastError() == ERROR_INVALID_ENVIRONMENT)
{
win_skip("NT4 and below don't support the 'all' environment value\n");
return;
}
ok(GetLastError() == ERROR_INSUFFICIENT_BUFFER, "unexpected error %u\n", GetLastError());
buffer = HeapAlloc(GetProcessHeap(), 0, pcbNeeded);
......
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