git.samba.org
/
abartlet
/
samba.git
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2fcc921
)
s4-smbtorture: exit early in test_EnumPorts when no port info has been returned.
author
Günther Deschner
<gd@samba.org>
Fri, 6 Mar 2009 11:24:23 +0000
(12:24 +0100)
committer
Günther Deschner
<gd@samba.org>
Fri, 6 Mar 2009 13:28:22 +0000
(14:28 +0100)
Guenther
source4/torture/rpc/spoolss.c
patch
|
blob
|
history
diff --git
a/source4/torture/rpc/spoolss.c
b/source4/torture/rpc/spoolss.c
index 7e8461ef831a1cf99c716fe8f8be698dbc8f018a..64b698a40205197dbd4c147fa388d76b813cf7fc 100644
(file)
--- a/
source4/torture/rpc/spoolss.c
+++ b/
source4/torture/rpc/spoolss.c
@@
-139,6
+139,8
@@
static bool test_EnumPorts(struct torture_context *tctx,
torture_assert_werr_ok(tctx, r.out.result, "EnumPorts failed");
+ torture_assert(tctx, info, "EnumPorts returned no info");
+
ctx->port_count[level] = count;
ctx->ports[level] = info;
}