summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2009-04-17 17:21:19 +0200
committerGünther Deschner <gd@samba.org>2009-04-17 17:27:42 +0200
commitfe2828c3536eac18902a059049dd12b9b103f731 (patch)
tree88ebf77a7cf62561d823f07f75093b1b6662f255 /source4
parent6900d61d369961e0c11e590ccdc102169f21cef3 (diff)
downloadsamba-fe2828c3536eac18902a059049dd12b9b103f731.tar.gz
samba-fe2828c3536eac18902a059049dd12b9b103f731.tar.bz2
samba-fe2828c3536eac18902a059049dd12b9b103f731.zip
s4-smbtorture: Skip Job pause and resume on paused printers for Samba 3 for now.
Guenther
Diffstat (limited to 'source4')
-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 af9fe4506f..bc89eabfe1 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 {