s4-smbtorture: skip ReplyOpenPrinter test in RPC-SPOOLSS-NOTIFY while testing s3.
authorGünther Deschner <gd@samba.org>
Mon, 18 Jan 2010 23:19:47 +0000 (00:19 +0100)
committerGünther Deschner <gd@samba.org>
Tue, 19 Jan 2010 13:14:30 +0000 (14:14 +0100)
Guenther

source4/torture/rpc/spoolss_notify.c

index 5d81a6b847743404ac1f885b8f98d819a49483b6..eacf6943fc962a254bea9bce24afb725b33964e5 100644 (file)
@@ -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;