Commit 110612c1 authored by Detlef Riekenberg's avatar Detlef Riekenberg Committed by Alexandre Julliard

winspool/tests: Skip tests, when a remote print server has no RPC

service running.
parent a8397e30
......@@ -553,6 +553,8 @@ static void test_OpenPrinter(void)
hprinter = (HANDLE) MAGIC_DEAD;
SetLastError(MAGIC_DEAD);
res = OpenPrinter(default_printer, &hprinter, &defaults);
/* stop here, when a remote Printserver has no RPC-Service running */
RETURN_ON_DEACTIVATED_SPOOLER(res)
ok(res || ((GetLastError() == ERROR_INVALID_DATATYPE) ||
(GetLastError() == ERROR_ACCESS_DENIED)),
"returned %ld with %ld (expected '!=0' or '0' with: " \
......
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