s4-smbtorture: activate job control tests against s3 in spoolss tests.
authorGünther Deschner <gd@samba.org>
Thu, 25 Mar 2010 09:20:14 +0000 (10:20 +0100)
committerGünther Deschner <gd@samba.org>
Thu, 25 Mar 2010 10:04:52 +0000 (11:04 +0100)
Spoolss job control commands work for cups in s3 now but not for other
backends. We need to investigate why.

Guenther

source4/torture/rpc/spoolss.c

index b06c109af324aac53fd1a737319015e9a5e86915..6bd3389fb5b7a7721f4089c987512a73690f3179 100644 (file)
@@ -2701,11 +2701,8 @@ static bool test_EnumJobs(struct torture_context *tctx,
                        torture_assert(tctx, test_GetJob(tctx, b, handle, info[j].info1.job_id),
                                "failed to call test_GetJob");
 
-                       /* FIXME - gd */
-                       if (!torture_setting_bool(tctx, "samba3", false)) {
-                               test_SetJob(tctx, b, handle, info[j].info1.job_id, SPOOLSS_JOB_CONTROL_PAUSE);
-                               test_SetJob(tctx, b, handle, info[j].info1.job_id, SPOOLSS_JOB_CONTROL_RESUME);
-                       }
+                       test_SetJob(tctx, b, handle, info[j].info1.job_id, SPOOLSS_JOB_CONTROL_PAUSE);
+                       test_SetJob(tctx, b, handle, info[j].info1.job_id, SPOOLSS_JOB_CONTROL_RESUME);
                }
 
        } else {