From 4f4ac6462a191418ff358d28ac298352861107d4 Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Thu, 16 Dec 2010 16:01:51 +0100 Subject: s4-smbtorture: skip level 8 checks in test_GetDriverInfo_winreg for w2k3. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Guenther Autobuild-User: Günther Deschner Autobuild-Date: Fri Dec 17 12:20:38 CET 2010 on sn-devel-104 --- source4/torture/rpc/spoolss.c | 4 ++++ 1 file changed, 4 insertions(+) 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"); -- cgit