summaryrefslogtreecommitdiff
path: root/source4/torture
diff options
context:
space:
mode:
Diffstat (limited to 'source4/torture')
-rw-r--r--source4/torture/rpc/lsa.c15
1 files 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;
}