From e8331416229fc08e5c73cdd27e192b8b3f68bbfe Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Wed, 8 Aug 2012 12:14:36 +0200 Subject: s3:torture:delete: really fail the test in a failure case --- source3/torture/torture.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source3/torture') diff --git a/source3/torture/torture.c b/source3/torture/torture.c index 58b41593e2..31318c622f 100644 --- a/source3/torture/torture.c +++ b/source3/torture/torture.c @@ -3928,10 +3928,10 @@ static bool run_deletetest(int dummy) status = cli_close(cli1, fnum1); if (!NT_STATUS_IS_OK(status)) { printf("[2] close failed (%s)\n", nt_errstr(status)); - correct = False; - goto fail; } cli_unlink(cli1, fname, FILE_ATTRIBUTE_SYSTEM | FILE_ATTRIBUTE_HIDDEN); + correct = False; + goto fail; } else printf("second delete on close test succeeded.\n"); -- cgit