From 20133cfe560f2bd84b5c2ebab9dc25b0c98efeb9 Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Fri, 23 Apr 2010 02:49:42 +0200 Subject: s4-smbtorture: samba currently supports level 3 and 6 driver adds. Guenther --- source4/torture/rpc/spoolss.c | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) (limited to 'source4/torture/rpc/spoolss.c') diff --git a/source4/torture/rpc/spoolss.c b/source4/torture/rpc/spoolss.c index c046f1849c..fbcdc156a5 100644 --- a/source4/torture/rpc/spoolss.c +++ b/source4/torture/rpc/spoolss.c @@ -7307,6 +7307,18 @@ static bool test_add_driver_arg(struct torture_context *tctx, for (i=0; i < ARRAY_SIZE(levels); i++) { + if (torture_setting_bool(tctx, "samba3", false)) { + switch (levels[i]) { + case 2: + case 4: + case 8: + torture_comment(tctx, "skipping level %d against samba\n", levels[i]); + continue; + default: + break; + } + } + torture_comment(tctx, "Testing PrinterDriver%s '%s' add & delete level %d\n", d->ex ? "Ex" : "", info8.driver_name, levels[i]); @@ -7320,6 +7332,19 @@ static bool test_add_driver_arg(struct torture_context *tctx, for (i=0; i < ARRAY_SIZE(levels); i++) { + if (torture_setting_bool(tctx, "samba3", false)) { + switch (levels[i]) { + case 2: + case 4: + case 8: + torture_comment(tctx, "skipping level %d against samba\n", levels[i]); + continue; + default: + break; + } + } + + torture_comment(tctx, "Testing PrinterDriver%s '%s' add & delete level %d (full unc paths)\n", d->ex ? "Ex" : "", info8.driver_name, levels[i]); -- cgit