diff options
author | Günther Deschner <gd@samba.org> | 2007-11-27 12:56:10 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2007-12-21 05:46:34 +0100 |
commit | 5365ee1abb42e6a9ddcdbf50e36dde4770ea3f84 (patch) | |
tree | 2858d02e060cbd8bef49ac36e19789ec8468f0ab /source4 | |
parent | 890dd11f612178a2a6ac0a1dcb180c727528625e (diff) | |
download | samba-5365ee1abb42e6a9ddcdbf50e36dde4770ea3f84.tar.gz samba-5365ee1abb42e6a9ddcdbf50e36dde4770ea3f84.tar.bz2 samba-5365ee1abb42e6a9ddcdbf50e36dde4770ea3f84.zip |
r26170: Put test_NetrUseGetInfo() in the correct order of tests.
Guenther
(This used to be commit 239749d81150c522e39612c53b9df880cb68209b)
Diffstat (limited to 'source4')
-rw-r--r-- | source4/torture/rpc/wkssvc.c | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/source4/torture/rpc/wkssvc.c b/source4/torture/rpc/wkssvc.c index f0af7426fd..bec2ec9f3e 100644 --- a/source4/torture/rpc/wkssvc.c +++ b/source4/torture/rpc/wkssvc.c @@ -45,12 +45,15 @@ static bool test_NetWkstaGetInfo(struct torture_context *tctx, for (i=0;i<ARRAY_SIZE(levels);i++) { r.in.level = levels[i]; - torture_comment(tctx, "testing NetWkstaGetInfo level %u\n", r.in.level); + torture_comment(tctx, "testing NetWkstaGetInfo level %u\n", + r.in.level); status = dcerpc_wkssvc_NetWkstaGetInfo(p, tctx, &r); torture_assert_ntstatus_ok(tctx, status, - talloc_asprintf(tctx, "NetWkstaGetInfo level %u failed", r.in.level)); + talloc_asprintf(tctx, "NetWkstaGetInfo level %u failed", + r.in.level)); torture_assert_werr_ok(tctx, r.out.result, - talloc_asprintf(tctx, "NetWkstaGetInfo level %u failed", r.in.level)); + talloc_asprintf(tctx, "NetWkstaGetInfo level %u failed", + r.in.level)); } return true; @@ -1068,8 +1071,6 @@ struct torture_suite *torture_rpc_wkssvc(TALLOC_CTX *mem_ctx) test_NetWkstaTransportEnum); torture_rpc_tcase_add_test(tcase, "NetrWkstaTransportDel", test_NetrWkstaTransportDel); - torture_rpc_tcase_add_test(tcase, "NetrUseGetInfo", - test_NetrUseGetInfo); torture_rpc_tcase_add_test(tcase, "NetrWkstaTransportAdd", test_NetrWkstaTransportAdd); @@ -1080,6 +1081,8 @@ struct torture_suite *torture_rpc_wkssvc(TALLOC_CTX *mem_ctx) torture_rpc_tcase_add_test(tcase, "NetrUseDel", test_NetrUseDel); + torture_rpc_tcase_add_test(tcase, "NetrUseGetInfo", + test_NetrUseGetInfo); torture_rpc_tcase_add_test(tcase, "NetrUseEnum", test_NetrUseEnum); torture_rpc_tcase_add_test(tcase, "NetrUseAdd", |