From 0e255bb542b1f79c32e9295617199ea8d60753d4 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Fri, 12 Nov 2004 09:37:59 +0000 Subject: r3699: - split the delayed write testing out of RAW-WRITE, as it is not yet clear what the correct behaviour is for delayed stat info update. - use a common torture_setup_dir() function for setting up a test directory in torture tests. (This used to be commit f7fb34715b7d6ea3c35ddd684cfb27459a420339) --- source4/torture/raw/notify.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'source4/torture/raw/notify.c') diff --git a/source4/torture/raw/notify.c b/source4/torture/raw/notify.c index 3fff04fc6f..0156f5b251 100644 --- a/source4/torture/raw/notify.c +++ b/source4/torture/raw/notify.c @@ -67,11 +67,8 @@ BOOL torture_raw_notify(void) mem_ctx = talloc_init("torture_raw_notify"); - /* cleanup */ - if (smbcli_deltree(cli->tree, BASEDIR) == -1) { - printf("Failed to cleanup " BASEDIR "\n"); - ret = False; - goto done; + if (!torture_setup_dir(cli, BASEDIR)) { + return False; } /* -- cgit