From 489e3372d629a56b8f6c433f99ae750d16eecc2c Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Mon, 17 Jan 2011 16:24:16 +1100 Subject: s4-torture Remove unused temp dirs from the RPC-PAC test. The code previously required the creation of a messaging context, but this isn't done any more, so we don't need the tmp dir to put it in. Andrew Bartlett --- source4/torture/rpc/remote_pac.c | 9 --------- 1 file changed, 9 deletions(-) (limited to 'source4/torture/rpc') diff --git a/source4/torture/rpc/remote_pac.c b/source4/torture/rpc/remote_pac.c index 33034e0190..8f4d677c44 100644 --- a/source4/torture/rpc/remote_pac.c +++ b/source4/torture/rpc/remote_pac.c @@ -74,7 +74,6 @@ static bool test_PACVerify(struct torture_context *tctx, struct auth_session_info *session_info; - char *tmp_dir; struct dcerpc_binding_handle *b = p->binding_handle; TALLOC_CTX *tmp_ctx = talloc_new(tctx); torture_assert(tctx, tmp_ctx != NULL, "talloc_new() failed"); @@ -85,9 +84,6 @@ static bool test_PACVerify(struct torture_context *tctx, return false; } - status = torture_temp_dir(tctx, "PACVerify", &tmp_dir); - torture_assert_ntstatus_ok(tctx, status, "torture_temp_dir failed"); - status = gensec_client_start(tctx, &gensec_client_context, tctx->ev, lpcfg_gensec_settings(tctx, tctx->lp_ctx)); torture_assert_ntstatus_ok(tctx, status, "gensec_client_start (client) failed"); @@ -418,17 +414,12 @@ static bool test_S2U4Self(struct torture_context *tctx, struct dom_sid *builtin_domain; - char *tmp_dir; - TALLOC_CTX *tmp_ctx = talloc_new(tctx); torture_assert(tctx, tmp_ctx != NULL, "talloc_new() failed"); /* First, do a normal Kerberos connection */ - status = torture_temp_dir(tctx, "S2U4Self", &tmp_dir); - torture_assert_ntstatus_ok(tctx, status, "torture_temp_dir failed"); - status = gensec_client_start(tctx, &gensec_client_context, tctx->ev, lpcfg_gensec_settings(tctx, tctx->lp_ctx)); torture_assert_ntstatus_ok(tctx, status, "gensec_client_start (client) failed"); -- cgit