summaryrefslogtreecommitdiffstats
path: root/testprogs
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2010-02-19 10:11:19 +0100
committerGünther Deschner <gd@samba.org>2010-02-19 10:12:07 +0100
commite40310a64bb8fccefeca720948130b9d23490ec6 (patch)
tree5cbec40fe9bd8ca88469497a15099c48a927bf05 /testprogs
parent76aa37f653fec2d511921768381db7da661750cb (diff)
downloadsamba-e40310a64bb8fccefeca720948130b9d23490ec6.tar.gz
samba-e40310a64bb8fccefeca720948130b9d23490ec6.tar.xz
samba-e40310a64bb8fccefeca720948130b9d23490ec6.zip
testprogs: ignore GetJob level 3 and 4 against samba for now.
Guenther
Diffstat (limited to 'testprogs')
-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;
}