summaryrefslogtreecommitdiff
path: root/source4/torture
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2010-12-16 11:58:36 +0100
committerGünther Deschner <gd@samba.org>2010-12-17 11:33:05 +0100
commit5083be506eaa58c59d867f04a941c0e5707ca44c (patch)
tree6183c5bb4138f0cf14f7e8c141bfeaea1238bee1 /source4/torture
parent28d618ddf015f502ef0fa8a5f8472123c7cd9102 (diff)
downloadsamba-5083be506eaa58c59d867f04a941c0e5707ca44c.tar.gz
samba-5083be506eaa58c59d867f04a941c0e5707ca44c.tar.bz2
samba-5083be506eaa58c59d867f04a941c0e5707ca44c.zip
s4-smbtorture: skipping level 8 driveradds against w2k3.
Guenther
Diffstat (limited to 'source4/torture')
-rw-r--r--source4/torture/rpc/spoolss.c19
1 files changed, 18 insertions, 1 deletions
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",