summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2010-04-29 19:26:12 +0200
committerGünther Deschner <gd@samba.org>2010-04-30 01:25:55 +0200
commit6156a4b73b6cb90bb31d927f0c07e6d53442481b (patch)
treed355afc005256991c3965ee397a7eb14119f70df /source4
parente8aaf4087b10a5aa88f3a3d2810a6a332fa2697e (diff)
downloadsamba-6156a4b73b6cb90bb31d927f0c07e6d53442481b.tar.gz
samba-6156a4b73b6cb90bb31d927f0c07e6d53442481b.tar.bz2
samba-6156a4b73b6cb90bb31d927f0c07e6d53442481b.zip
s4-smbtorture: test all levels in test_netprintqgetinfo and test_netprintqenum.
Guenther
Diffstat (limited to 'source4')
-rw-r--r--source4/torture/rap/printing.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/torture/rap/printing.c b/source4/torture/rap/printing.c
index 9b28719377..ebb80d3465 100644
--- a/source4/torture/rap/printing.c
+++ b/source4/torture/rap/printing.c
@@ -68,7 +68,7 @@ static bool test_netprintqenum(struct torture_context *tctx,
{
struct rap_NetPrintQEnum r;
int i, q;
- uint16_t levels[] = { 0, 1, 3, 5 };
+ uint16_t levels[] = { 0, 1, 2, 3, 4, 5 };
NTSTATUS status;
for (i=0; i < ARRAY_SIZE(levels); i++) {
@@ -103,7 +103,7 @@ static bool test_netprintqgetinfo(struct torture_context *tctx,
struct rap_NetPrintQGetInfo r;
struct rap_NetPrintQEnum r_enum;
int i, p;
- uint16_t levels[] = { 0, 1, 3, 5 };
+ uint16_t levels[] = { 0, 1, 2, 3, 4, 5 };
NTSTATUS status;
r_enum.in.level = 5;