diff options
Diffstat (limited to 'source4/torture/raw/chkpath.c')
-rw-r--r-- | source4/torture/raw/chkpath.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/source4/torture/raw/chkpath.c b/source4/torture/raw/chkpath.c index 20bb3f8ebd..4948949886 100644 --- a/source4/torture/raw/chkpath.c +++ b/source4/torture/raw/chkpath.c @@ -223,12 +223,7 @@ BOOL torture_raw_chkpath(void) mem_ctx = talloc_init("torture_raw_chkpath"); - if (smbcli_deltree(cli->tree, BASEDIR) == -1) { - printf("Failed to clean " BASEDIR "\n"); - return False; - } - if (NT_STATUS_IS_ERR(smbcli_mkdir(cli->tree, BASEDIR))) { - printf("Failed to create " BASEDIR " - %s\n", smbcli_errstr(cli->tree)); + if (!torture_setup_dir(cli, BASEDIR)) { return False; } |