1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00

s4-smbtorture: test smbcli_rap_netprintqgetinfo() with "" printqname.

Guenther
This commit is contained in:
Günther Deschner 2010-06-16 11:04:12 +02:00
parent 1f1c04010a
commit 1a86532fce

View File

@ -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;