mirror of
https://github.com/samba-team/samba.git
synced 2025-03-09 08:58:35 +03:00
s4/torture: Unlink test file at the beginning of smb2.read.position
Pair-Programmed-With: Anoop C S <anoopcs@redhat.com> Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Guenther Deschner <gd@samba.org> Autobuild-User(master): Günther Deschner <gd@samba.org> Autobuild-Date(master): Fri May 15 16:02:47 UTC 2020 on sn-devel-184
This commit is contained in:
parent
04f0c45475
commit
dbfc197f65
@ -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);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user