From 1a86532fce51ec2f46b1e8abb1c1838e6793b76b Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Wed, 16 Jun 2010 11:04:12 +0200 Subject: s4-smbtorture: test smbcli_rap_netprintqgetinfo() with "" printqname. Guenther --- source4/torture/rap/printing.c | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'source4/torture/rap/printing.c') diff --git a/source4/torture/rap/printing.c b/source4/torture/rap/printing.c index a143017c42..4f10606b59 100644 --- a/source4/torture/rap/printing.c +++ b/source4/torture/rap/printing.c @@ -120,6 +120,14 @@ static bool test_netprintqgetinfo(struct torture_context *tctx, int i, p; uint16_t levels[] = { 0, 1, 2, 3, 4, 5 }; + r.in.level = 0; + r.in.bufsize = 0; + r.in.PrintQueueName = ""; + + torture_assert_ntstatus_ok(tctx, + smbcli_rap_netprintqgetinfo(cli->tree, tctx, &r), + "smbcli_rap_netprintqgetinfo failed"); + r_enum.in.level = 5; r_enum.in.bufsize = 8192; -- cgit