1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-01 04:58:35 +03:00

make sure we have an empty directory when we start the utable test

(This used to be commit af415842b80f024ca26b4e3bc52fd73fce0a28f3)
This commit is contained in:
Andrew Tridgell 2003-03-11 06:31:23 +00:00
parent cca61adcd2
commit c13990277f

View File

@ -129,8 +129,12 @@ BOOL torture_casetable(int dummy)
memset(equiv, 0, sizeof(equiv)); memset(equiv, 0, sizeof(equiv));
cli_mkdir(cli, "\\utable");
cli_unlink(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++) { for (c=1; c < 0x10000; c++) {
size_t size; size_t size;