winspool/tests: (6/6) Fix tests for EnumPrinters, when the spooler
is off
Detlef Riekenberg
wine.dev at web.de
Sun Jan 14 22:38:47 CST 2007
--
By by ... Detlef
-------------- next part --------------
>From 5b5eb6e10834c2a226ce590f0c3a5376bd9034a8 Mon Sep 17 00:00:00 2001
From: Detlef Riekenberg <wine.dev at web.de>
Date: Mon, 15 Jan 2007 05:36:02 +0100
Subject: [PATCH] winspool/tests: Fix tests, when the spooler is off
---
dlls/winspool.drv/tests/info.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/dlls/winspool.drv/tests/info.c b/dlls/winspool.drv/tests/info.c
index 43c82c4..fec8ba9 100644
--- a/dlls/winspool.drv/tests/info.c
+++ b/dlls/winspool.drv/tests/info.c
@@ -1654,6 +1654,7 @@ static void test_EnumPrinters(void)
SetLastError(0xdeadbeef);
neededA = -1;
ret = EnumPrintersA(PRINTER_ENUM_LOCAL, NULL, 2, NULL, 0, &neededA, &num);
+ RETURN_ON_DEACTIVATED_SPOOLER(ret)
if (!ret)
{
/* We have 1 or more printers */
--
1.4.1
More information about the wine-patches
mailing list