summaryrefslogtreecommitdiff
path: root/source4/torture
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2009-04-14 12:10:22 +0200
committerGünther Deschner <gd@samba.org>2009-04-14 12:13:32 +0200
commita2ef1fee69771f58c27604ef213405031f42ff96 (patch)
tree0d24f74bd89dc5c54b47e6c5f9f1eb5117f5e805 /source4/torture
parentfa302020ee39bf39bf324983cf8e381232691e76 (diff)
downloadsamba-a2ef1fee69771f58c27604ef213405031f42ff96.tar.gz
samba-a2ef1fee69771f58c27604ef213405031f42ff96.tar.bz2
samba-a2ef1fee69771f58c27604ef213405031f42ff96.zip
s4-smbtorture: make sure samba3 does not regress in EnumServicesStatusW call.
Guenther
Diffstat (limited to 'source4/torture')
-rw-r--r--source4/torture/rpc/svcctl.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source4/torture/rpc/svcctl.c b/source4/torture/rpc/svcctl.c
index e38e8daba1..631e367c3b 100644
--- a/source4/torture/rpc/svcctl.c
+++ b/source4/torture/rpc/svcctl.c
@@ -374,6 +374,9 @@ static bool test_EnumServicesStatus(struct torture_context *tctx, struct dcerpc_
for(i = 0; i < services_returned; i++) {
+ torture_assert(tctx, service[i].service_name,
+ "Service without name returned!");
+
printf("%-20s \"%s\", Type: %d, State: %d\n",
service[i].service_name, service[i].display_name,
service[i].status.type, service[i].status.state);