s4-smbtorture: remove unneeded ncaclrpc dir setup from RPC-SPOOLSS-NOTIFY.
authorGünther Deschner <gd@samba.org>
Tue, 19 Jan 2010 16:15:05 +0000 (17:15 +0100)
committerGünther Deschner <gd@samba.org>
Tue, 19 Jan 2010 16:17:29 +0000 (17:17 +0100)
Guenther

source4/torture/rpc/spoolss_notify.c

index c6ff706374c73a766e7405a18730404f6fe3134c..bce85caa200a453b0f061ee17a0008ee565cea0c 100644 (file)
@@ -283,16 +283,6 @@ static bool test_RFFPCNEx(struct torture_context *tctx,
        torture_assert_ntstatus_ok(tctx, status,
                                   "unable to initialize DCE/RPC server");
 
-       /* Make sure the directory for NCALRPC exists */
-       if (!directory_exist(lp_ncalrpc_dir(tctx->lp_ctx))) {
-               int ret;
-               ret = mkdir(lp_ncalrpc_dir(tctx->lp_ctx), 0755);
-               torture_assert(tctx, (ret == 0), talloc_asprintf(tctx,
-                              "failed to mkdir(%s) ret[%d] errno[%d - %s]",
-                              lp_ncalrpc_dir(tctx->lp_ctx), ret,
-                              errno, strerror(errno)));
-       }
-
        for (e=dce_ctx->endpoint_list;e;e=e->next) {
                status = dcesrv_add_ep(dce_ctx, tctx->lp_ctx,
                                       e, tctx->ev, &single_ops);