From a2ef1fee69771f58c27604ef213405031f42ff96 Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Tue, 14 Apr 2009 12:10:22 +0200 Subject: s4-smbtorture: make sure samba3 does not regress in EnumServicesStatusW call. Guenther --- source4/torture/rpc/svcctl.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'source4') 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); -- cgit