From 3ad2fa672818269f2cbb7a63ff71df4f2cc81a95 Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Sat, 5 Jun 2010 01:25:05 +0200 Subject: s4-smbtorture: remove another incarnation of test_ClosePrinter. This should fix the build; why waf didn't catch that durint make bin/smbtorture4 ? Guenther --- source4/torture/rpc/spoolss_notify.c | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/source4/torture/rpc/spoolss_notify.c b/source4/torture/rpc/spoolss_notify.c index 9fa6b63fbf..26faf0abc8 100644 --- a/source4/torture/rpc/spoolss_notify.c +++ b/source4/torture/rpc/spoolss_notify.c @@ -372,25 +372,6 @@ static bool test_RouterRefreshPrinterChangeNotify(struct torture_context *tctx, return true; } -static bool test_ClosePrinter(struct torture_context *tctx, - struct dcerpc_binding_handle *b, - struct policy_handle *handle) -{ - struct spoolss_ClosePrinter r; - - r.in.handle = handle; - r.out.handle = handle; - - torture_comment(tctx, "Testing ClosePrinter\n"); - - torture_assert_ntstatus_ok(tctx, dcerpc_spoolss_ClosePrinter_r(b, tctx, &r), - "ClosePrinter failed"); - torture_assert_werr_ok(tctx, r.out.result, - "ClosePrinter failed"); - - return true; -} - static bool test_SetPrinter(struct torture_context *tctx, struct dcerpc_pipe *p, struct policy_handle *handle) -- cgit