summaryrefslogtreecommitdiff
path: root/testprogs/win32/spoolss
diff options
context:
space:
mode:
Diffstat (limited to 'testprogs/win32/spoolss')
-rw-r--r--testprogs/win32/spoolss/error.c2
-rw-r--r--testprogs/win32/spoolss/spoolss.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/testprogs/win32/spoolss/error.c b/testprogs/win32/spoolss/error.c
index 8ccc542047..2665856082 100644
--- a/testprogs/win32/spoolss/error.c
+++ b/testprogs/win32/spoolss/error.c
@@ -113,6 +113,8 @@ const char *errstr(DWORD error)
#endif
case ERROR_CANCELLED:
return "ERROR_CANCELLED";
+ case ERROR_NOACCESS:
+ return "ERROR_NOACCESS";
case RPC_S_PROCNUM_OUT_OF_RANGE:
return "RPC_S_PROCNUM_OUT_OF_RANGE";
case RPC_S_SERVER_UNAVAILABLE:
diff --git a/testprogs/win32/spoolss/spoolss.c b/testprogs/win32/spoolss/spoolss.c
index 1a8516b28b..c9a7bc0105 100644
--- a/testprogs/win32/spoolss/spoolss.c
+++ b/testprogs/win32/spoolss/spoolss.c
@@ -877,7 +877,7 @@ static BOOL test_GetJob(struct torture_context *tctx,
torture_comment(tctx, "Testing GetJob(%d) level %d", job_id, levels[i]);
- if (tctx->samba3 && levels[i] == 4) {
+ if (tctx->samba3 && (levels[i] == 4) || (levels[i] == 3)) {
torture_comment(tctx, "skipping level %d getjob against samba\n", levels[i]);
continue;
}