From: Günther Deschner Date: Fri, 17 Apr 2009 15:21:19 +0000 (+0200) Subject: s4-smbtorture: Skip Job pause and resume on paused printers for Samba 3 for now. X-Git-Tag: tdb-1.1.5~958^2~33 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fe2828c3536eac18902a059049dd12b9b103f731;p=thirdparty%2Fsamba.git s4-smbtorture: Skip Job pause and resume on paused printers for Samba 3 for now. Guenther --- 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 {