git.samba.org
/
obnox
/
samba
/
samba-obnox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6446c75
)
s4-torture: Disable setting REG_BINARY printer data with size 0.
author
Andreas Schneider
<asn@redhat.com>
Fri, 26 Mar 2010 13:40:05 +0000
(14:40 +0100)
committer
Simo Sorce
<idra@samba.org>
Tue, 27 Jul 2010 14:27:06 +0000
(10:27 -0400)
Signed-off-by: Jim McDonough <jmcd@samba.org>
source4/torture/rpc/spoolss.c
patch
|
blob
|
history
diff --git
a/source4/torture/rpc/spoolss.c
b/source4/torture/rpc/spoolss.c
index 12dc8240cf42352a49b12f52f57933b15b2dece9..af7e9e96e06b88b3c00dacbe0c511dbed736ab95 100644
(file)
--- a/
source4/torture/rpc/spoolss.c
+++ b/
source4/torture/rpc/spoolss.c
@@
-5026,6
+5026,10
@@
static bool test_SetPrinterDataEx_matrix(struct torture_context *tctx,
torture_warning(tctx, "samba3 does not handle 4 byte emtpy REG_MULTI_SZ buffers");
continue;
}
+ if ((types[t] == REG_BINARY) && s == 0) {
+ torture_warning(tctx, "samba3 does not handle emtpy REG_BINARY buffers");
+ continue;
+ }
}
switch (types[t]) {