summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2009-04-17 17:21:19 +0200
committerKarolin Seeger <kseeger@samba.org>2009-04-28 09:11:08 +0200
commitce42bf82955ca4cf5995b09afecb85cbca56eedd (patch)
tree1b808c6896fa07fd3c2f1bf94dcad4d2ac6e0571
parent4a7791c10200857c58772ee44866e58c3c96e0f5 (diff)
downloadsamba-ce42bf82955ca4cf5995b09afecb85cbca56eedd.tar.gz
samba-ce42bf82955ca4cf5995b09afecb85cbca56eedd.tar.xz
samba-ce42bf82955ca4cf5995b09afecb85cbca56eedd.zip
s4-smbtorture: Skip Job pause and resume on paused printers for Samba 3 for now.
Guenther (cherry picked from commit fe2828c3536eac18902a059049dd12b9b103f731) (cherry picked from commit 4c3b05d8486ddff87ed665d9b37f6bc47fc2a96b)
-rw-r--r--source4/torture/rpc/spoolss.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/source4/torture/rpc/spoolss.c b/source4/torture/rpc/spoolss.c
index af9fe4506ff..bc89eabfe17 100644
--- a/source4/torture/rpc/spoolss.c
+++ b/source4/torture/rpc/spoolss.c
@@ -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 {