From 80b512fe03e692f630375c39f84ae9f91f5b333a Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Thu, 16 Jul 2009 00:52:28 +0200 Subject: s4-smbtorture: move all LookupNames tests into RPC-LSA-LOOKUPNAMES. Guenther --- source4/torture/rpc/lsa.c | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/source4/torture/rpc/lsa.c b/source4/torture/rpc/lsa.c index e4234c7f47..0ce75d8a86 100644 --- a/source4/torture/rpc/lsa.c +++ b/source4/torture/rpc/lsa.c @@ -2611,13 +2611,6 @@ bool torture_rpc_lsa(struct torture_context *tctx) if (!join) { ret = false; } - if (!test_LookupNames_wellknown(p, tctx, handle)) { - ret = false; - } - - if (!test_LookupNames_bogus(p, tctx, handle)) { - ret = false; - } if (!test_LookupSids_async(p, tctx, handle)) { ret = false; @@ -2728,6 +2721,14 @@ static bool testcase_LookupNames(struct torture_context *tctx, ret = false; } + if (!test_LookupNames_wellknown(p, tctx, handle)) { + ret = false; + } + + if (!test_LookupNames_bogus(p, tctx, handle)) { + ret = false; + } + if (!test_lsa_Close(p, tctx, handle)) { ret = false; } -- cgit