From 5083be506eaa58c59d867f04a941c0e5707ca44c Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Thu, 16 Dec 2010 11:58:36 +0100 Subject: s4-smbtorture: skipping level 8 driveradds against w2k3. Guenther --- source4/torture/rpc/spoolss.c | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) (limited to 'source4/torture') diff --git a/source4/torture/rpc/spoolss.c b/source4/torture/rpc/spoolss.c index 925b703dd7..93331454c7 100644 --- a/source4/torture/rpc/spoolss.c +++ b/source4/torture/rpc/spoolss.c @@ -8858,6 +8858,15 @@ static bool test_add_driver_arg(struct torture_context *tctx, break; } } + if (torture_setting_bool(tctx, "w2k3", false)) { + switch (levels[i]) { + case 8: + torture_comment(tctx, "skipping level %d against w2k3\n", levels[i]); + continue; + default: + break; + } + } torture_comment(tctx, "Testing PrinterDriver%s '%s' add & delete level %d\n", @@ -8885,7 +8894,15 @@ static bool test_add_driver_arg(struct torture_context *tctx, break; } } - + if (torture_setting_bool(tctx, "w2k3", false)) { + switch (levels[i]) { + case 8: + torture_comment(tctx, "skipping level %d against w2k3\n", levels[i]); + continue; + default: + break; + } + } torture_comment(tctx, "Testing PrinterDriver%s '%s' add & delete level %d (full unc paths)\n", -- cgit