Paul Vriens : winspool.drv/tests: Fix a test failure on NT4 and below.
Alexandre Julliard
julliard at winehq.org
Wed Mar 25 10:31:29 CDT 2009
Module: wine
Branch: master
Commit: b0da2a2e481a0588d51f048cbb1efd248e8ddab7
URL: http://source.winehq.org/git/wine.git/?a=commit;h=b0da2a2e481a0588d51f048cbb1efd248e8ddab7
Author: Paul Vriens <Paul.Vriens.Wine at gmail.com>
Date: Tue Mar 24 16:13:01 2009 +0100
winspool.drv/tests: Fix a test failure on NT4 and below.
---
dlls/winspool.drv/tests/info.c | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/dlls/winspool.drv/tests/info.c b/dlls/winspool.drv/tests/info.c
index 897a622..9a7acf6 100644
--- a/dlls/winspool.drv/tests/info.c
+++ b/dlls/winspool.drv/tests/info.c
@@ -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);
More information about the wine-cvs
mailing list