summaryrefslogtreecommitdiff
path: root/source4/torture/rpc
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2010-12-16 16:01:51 +0100
committerGünther Deschner <gd@samba.org>2010-12-17 12:20:38 +0100
commit4f4ac6462a191418ff358d28ac298352861107d4 (patch)
treeae2e77f5a2aa82362239fb8b6c99cbfb8a4afb0c /source4/torture/rpc
parent5083be506eaa58c59d867f04a941c0e5707ca44c (diff)
downloadsamba-4f4ac6462a191418ff358d28ac298352861107d4.tar.gz
samba-4f4ac6462a191418ff358d28ac298352861107d4.tar.bz2
samba-4f4ac6462a191418ff358d28ac298352861107d4.zip
s4-smbtorture: skip level 8 checks in test_GetDriverInfo_winreg for w2k3.
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Fri Dec 17 12:20:38 CET 2010 on sn-devel-104
Diffstat (limited to 'source4/torture/rpc')
-rw-r--r--source4/torture/rpc/spoolss.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/source4/torture/rpc/spoolss.c b/source4/torture/rpc/spoolss.c
index 93331454c7..bc40aead89 100644
--- a/source4/torture/rpc/spoolss.c
+++ b/source4/torture/rpc/spoolss.c
@@ -4628,6 +4628,10 @@ static bool test_GetDriverInfo_winreg(struct torture_context *tctx,
goto try_level3;
}
+ if (torture_setting_bool(tctx, "w2k3", false)) {
+ goto try_level6;
+ }
+
torture_assert(tctx,
test_GetPrinterDriver2_level(tctx, b, handle, driver_name, environment, 8, 3, 0, &info, &result),
"failed to get driver info level 8");