Otherwise the session might still be around with the open handle when the next
test starts and then fails to delete the testfile.
BUG: https://bugzilla.samba.org/show_bug.cgi?id=14215
Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
"count");
torture_assert_int_equal(tctx, count, 2, "num snaps");
+ smb2_util_close(tree_base, base_fh);
+ ZERO_STRUCT(base_fh);
+
+ smb2_util_unlink(tree_base, FNAME);
+
talloc_free(tmp_ctx);
return true;