From af415842b80f024ca26b4e3bc52fd73fce0a28f3 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Tue, 11 Mar 2003 06:31:23 +0000 Subject: [PATCH] make sure we have an empty directory when we start the utable test --- source/torture/utable.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/source/torture/utable.c b/source/torture/utable.c index d9c1fcbafd1..d8a1557dbb7 100644 --- a/source/torture/utable.c +++ b/source/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; -- 2.11.4.GIT