diff options
author | Günther Deschner <gd@samba.org> | 2010-06-05 01:25:05 +0200 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2010-06-05 01:25:05 +0200 |
commit | 3ad2fa672818269f2cbb7a63ff71df4f2cc81a95 (patch) | |
tree | 14c4490fdeea1be5397c08ffb48653ad14dd4ab9 /source4 | |
parent | e89502e0f5a79c960cbecf50f49af3aa4bba8e35 (diff) | |
download | samba-3ad2fa672818269f2cbb7a63ff71df4f2cc81a95.tar.gz samba-3ad2fa672818269f2cbb7a63ff71df4f2cc81a95.tar.bz2 samba-3ad2fa672818269f2cbb7a63ff71df4f2cc81a95.zip |
s4-smbtorture: remove another incarnation of test_ClosePrinter.
This should fix the build; why waf didn't catch that durint make bin/smbtorture4 ?
Guenther
Diffstat (limited to 'source4')
-rw-r--r-- | source4/torture/rpc/spoolss_notify.c | 19 |
1 files changed, 0 insertions, 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) |