diff options
Diffstat (limited to 'source4/torture/raw/chkpath.c')
-rw-r--r-- | source4/torture/raw/chkpath.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/source4/torture/raw/chkpath.c b/source4/torture/raw/chkpath.c index ed7b5b2917..2afd7ea478 100644 --- a/source4/torture/raw/chkpath.c +++ b/source4/torture/raw/chkpath.c @@ -354,9 +354,7 @@ bool torture_raw_chkpath(struct torture_context *torture, bool ret = true; int fnum; - if (!torture_setup_dir(cli, BASEDIR)) { - return false; - } + torture_assert(torture, torture_setup_dir(cli, BASEDIR), "Failed to setup up test directory: " BASEDIR); if (NT_STATUS_IS_ERR(smbcli_mkdir(cli->tree, BASEDIR "\\nt"))) { printf("Failed to create " BASEDIR " - %s\n", smbcli_errstr(cli->tree)); |