From dbfc197f65f28c7f4e889045d7b04c46c4f6680d Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Wed, 13 May 2020 13:45:11 +0530 Subject: [PATCH] s4/torture: Unlink test file at the beginning of smb2.read.position MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Pair-Programmed-With: Anoop C S Signed-off-by: Michael Adam Reviewed-by: Guenther Deschner Autobuild-User(master): Günther Deschner Autobuild-Date(master): Fri May 15 16:02:47 UTC 2020 on sn-devel-184 --- source4/torture/smb2/read.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source4/torture/smb2/read.c b/source4/torture/smb2/read.c index b26bc18ddac..2899a491663 100644 --- a/source4/torture/smb2/read.c +++ b/source4/torture/smb2/read.c @@ -143,6 +143,8 @@ static bool test_read_position(struct torture_context *torture, struct smb2_tree ZERO_STRUCT(buf); + smb2_util_unlink(tree, FNAME); + status = torture_smb2_testfile(tree, FNAME, &h); CHECK_STATUS(status, NT_STATUS_OK); -- 2.47.3