1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00

s4-smbtorture: Skip Job pause and resume on paused printers for Samba 3 for now.

Guenther
This commit is contained in:
Günther Deschner 2009-04-17 17:21:19 +02:00
parent 6900d61d36
commit fe2828c353

View 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 {