mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 11:43:31 +00:00
winspool/tests: Skip tests, when a remote print server has no RPC
service running.
This commit is contained in:
parent
a8397e307a
commit
110612c137
1 changed files with 2 additions and 0 deletions
|
@ -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: " \
|
||||
|
|
Loading…
Reference in a new issue