summaryrefslogtreecommitdiff
path: root/source3/torture
diff options
context:
space:
mode:
Diffstat (limited to 'source3/torture')
-rw-r--r--source3/torture/utable.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/source3/torture/utable.c b/source3/torture/utable.c
index d9c1fcbafd..d8a1557dbb 100644
--- a/source3/torture/utable.c
+++ b/source3/torture/utable.c
@@ -129,8 +129,12 @@ BOOL torture_casetable(int dummy)
memset(equiv, 0, sizeof(equiv));
- cli_mkdir(cli, "\\utable");
cli_unlink(cli, "\\utable\\*");
+ cli_rmdir(cli, "\\utable");
+ if (!cli_mkdir(cli, "\\utable")) {
+ printf("Failed to create utable directory!\n");
+ return False;
+ }
for (c=1; c < 0x10000; c++) {
size_t size;