s4-smbtorture: Skip Job pause and resume on paused printers for Samba 3 for now.
authorGünther Deschner <gd@samba.org>
Fri, 17 Apr 2009 15:21:19 +0000 (17:21 +0200)
committerGünther Deschner <gd@samba.org>
Fri, 17 Apr 2009 15:27:42 +0000 (17:27 +0200)
Guenther

source4/torture/rpc/spoolss.c

index af9fe4506ff6da644bcafa5b25e95f01d63bfbe3..bc89eabfe17e388041f6dc9387f07a38cbdc330a 100644 (file)
@@ -1212,8 +1212,12 @@ static bool test_EnumJobs(struct torture_context *tctx,
                for (j = 0; j < count; j++) {
 
                        test_GetJob(tctx, p, handle, info[j].info1.job_id);
-                       test_SetJob(tctx, p, handle, info[j].info1.job_id, SPOOLSS_JOB_CONTROL_PAUSE);
-                       test_SetJob(tctx, p, handle, info[j].info1.job_id, SPOOLSS_JOB_CONTROL_RESUME);
+
+                       /* FIXME - gd */
+                       if (!torture_setting_bool(tctx, "samba3", false)) {
+                               test_SetJob(tctx, p, handle, info[j].info1.job_id, SPOOLSS_JOB_CONTROL_PAUSE);
+                               test_SetJob(tctx, p, handle, info[j].info1.job_id, SPOOLSS_JOB_CONTROL_RESUME);
+                       }
                }
 
        } else {