diff options
author | Günther Deschner <gd@samba.org> | 2010-06-16 11:04:12 +0200 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2010-06-16 12:15:24 +0200 |
commit | 1a86532fce51ec2f46b1e8abb1c1838e6793b76b (patch) | |
tree | 665c2be65495f1c4a22f7b2038a34468b890beb6 | |
parent | 1f1c04010a55e67d8dc2110276eed4cf2a8a0afa (diff) | |
download | samba-1a86532fce51ec2f46b1e8abb1c1838e6793b76b.tar.gz samba-1a86532fce51ec2f46b1e8abb1c1838e6793b76b.tar.bz2 samba-1a86532fce51ec2f46b1e8abb1c1838e6793b76b.zip |
s4-smbtorture: test smbcli_rap_netprintqgetinfo() with "" printqname.
Guenther
-rw-r--r-- | source4/torture/rap/printing.c | 8 |
1 files changed, 8 insertions, 0 deletions
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; |