From: Günther Deschner Date: Mon, 18 Jan 2010 23:19:47 +0000 (+0100) Subject: s4-smbtorture: skip ReplyOpenPrinter test in RPC-SPOOLSS-NOTIFY while testing s3. X-Git-Tag: tdb-1.2.1~271 X-Git-Url: http://git.samba.org/samba.git/?p=ira%2Fwip.git;a=commitdiff_plain;h=e0660ed1bc72effa5715587e105eb5096a3d70d0 s4-smbtorture: skip ReplyOpenPrinter test in RPC-SPOOLSS-NOTIFY while testing s3. Guenther --- diff --git a/source4/torture/rpc/spoolss_notify.c b/source4/torture/rpc/spoolss_notify.c index 5d81a6b8477..eacf6943fc9 100644 --- a/source4/torture/rpc/spoolss_notify.c +++ b/source4/torture/rpc/spoolss_notify.c @@ -315,6 +315,10 @@ static bool test_ReplyOpenPrinter(struct torture_context *tctx, struct spoolss_ReplyClosePrinter s; struct policy_handle h; + if (torture_setting_bool(tctx, "samba3", false)) { + torture_skip(tctx, "skipping ReplyOpenPrinter server implementation test against s3\n"); + } + r.in.server_name = "earth"; r.in.printer_local = 2; r.in.type = REG_DWORD;