s4-smbtorture: remove another incarnation of test_ClosePrinter.
authorGünther Deschner <gd@samba.org>
Fri, 4 Jun 2010 23:25:05 +0000 (01:25 +0200)
committerGünther Deschner <gd@samba.org>
Fri, 4 Jun 2010 23:25:05 +0000 (01:25 +0200)
This should fix the build; why waf didn't catch that durint make bin/smbtorture4 ?

Guenther

source4/torture/rpc/spoolss_notify.c

index 9fa6b63fbf5f321082a2562ac5f8e5e47d9a7ba2..26faf0abc843fe1bcb68a63d9cfe1f7fa46defcd 100644 (file)
@@ -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)