summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2010-03-04 23:13:10 +0100
committerGünther Deschner <gd@samba.org>2010-03-05 15:18:01 +0100
commit65f453ce71fa5911aa5f99b80df9834135052d4b (patch)
tree71103174fe73ef9211aca50379e5598da223d8be /source4
parent8e6dd25391d77b69859a3b622a1b116fa8000a40 (diff)
downloadsamba-65f453ce71fa5911aa5f99b80df9834135052d4b.tar.gz
samba-65f453ce71fa5911aa5f99b80df9834135052d4b.tar.bz2
samba-65f453ce71fa5911aa5f99b80df9834135052d4b.zip
s4-smbtorture: remove check for selfmade parsing artefact.
We were checking against a phenomenon that we created ourselves at the pidl layer... Guenther
Diffstat (limited to 'source4')
-rw-r--r--source4/torture/rpc/spoolss.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/source4/torture/rpc/spoolss.c b/source4/torture/rpc/spoolss.c
index aad42a6e1a..e03ebc588c 100644
--- a/source4/torture/rpc/spoolss.c
+++ b/source4/torture/rpc/spoolss.c
@@ -3341,14 +3341,7 @@ static bool test_SetPrinterDataEx_matrix(struct torture_context *tctx,
if (!test_GetPrinterDataEx(tctx, p, handle, keys[i], value_name, &type, &data_out, &needed)) {
return false;
}
-
- /* special case, a REG_BINARY set with 0 size returns a 0 sized
- * REG_NONE - gd */
- if ((types[t] == REG_BINARY) && (offered == 0)) {
- torture_assert_int_equal(tctx, REG_NONE, type, "type mismatch");
- } else {
- torture_assert_int_equal(tctx, types[t], type, "type mismatch");
- }
+ torture_assert_int_equal(tctx, types[t], type, "type mismatch");
torture_assert_int_equal(tctx, needed, offered, "size mismatch");
torture_assert_mem_equal(tctx, data_out, data.data, offered, "buffer mismatch");