summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2009-07-16 00:52:28 +0200
committerGünther Deschner <gd@samba.org>2009-10-20 15:28:30 +0200
commit80b512fe03e692f630375c39f84ae9f91f5b333a (patch)
tree3cb455a600c24bfa79868ceb663484971310591f
parent4243e6e3a904d2f3deb72a6ba456c49233d9af51 (diff)
downloadsamba-80b512fe03e692f630375c39f84ae9f91f5b333a.tar.gz
samba-80b512fe03e692f630375c39f84ae9f91f5b333a.tar.bz2
samba-80b512fe03e692f630375c39f84ae9f91f5b333a.zip
s4-smbtorture: move all LookupNames tests into RPC-LSA-LOOKUPNAMES.
Guenther
-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;
}