mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
parent
957af15e4b
commit
1eaefd15cb
@ -1367,7 +1367,7 @@ static bool test_OpenPrinter_badname(struct torture_context *tctx,
|
|||||||
torture_comment(tctx, "Testing OpenPrinterEx(%s) with bad name\n", opEx.in.printername);
|
torture_comment(tctx, "Testing OpenPrinterEx(%s) with bad name\n", opEx.in.printername);
|
||||||
|
|
||||||
status = dcerpc_spoolss_OpenPrinterEx(p, tctx, &opEx);
|
status = dcerpc_spoolss_OpenPrinterEx(p, tctx, &opEx);
|
||||||
torture_assert_ntstatus_ok(tctx, status, "OpenPrinter failed");
|
torture_assert_ntstatus_ok(tctx, status, "OpenPrinterEx failed");
|
||||||
if (!W_ERROR_EQUAL(WERR_INVALID_PRINTER_NAME,opEx.out.result)) {
|
if (!W_ERROR_EQUAL(WERR_INVALID_PRINTER_NAME,opEx.out.result)) {
|
||||||
torture_comment(tctx, "OpenPrinterEx(%s) unexpected result[%s] should be WERR_INVALID_PRINTER_NAME\n",
|
torture_comment(tctx, "OpenPrinterEx(%s) unexpected result[%s] should be WERR_INVALID_PRINTER_NAME\n",
|
||||||
name, win_errstr(opEx.out.result));
|
name, win_errstr(opEx.out.result));
|
||||||
|
Loading…
Reference in New Issue
Block a user