s3: smbtorture: Add new SMB2-DIR-FSYNC test to show behavior of FSYNC on directories.
commit2839bf2ea38a63bebae88611a5766c9d0351d8d3
authorJeremy Allison <jra@samba.org>
Thu, 10 May 2018 18:30:24 +0000 (10 11:30 -0700)
committerKarolin Seeger <kseeger@samba.org>
Wed, 20 Jun 2018 07:22:23 +0000 (20 09:22 +0200)
tree89adb173d50f2c7e79a9a934a332fd03680d3196
parentce89931796ff0fc52c16b8d9595f83e10e1e80dd
s3: smbtorture: Add new SMB2-DIR-FSYNC test to show behavior of FSYNC on directories.

Tests against a directory handle on the root of a share,
and a directory handle on a sub-directory in a share.

Check SEC_DIR_ADD_FILE and SEC_DIR_ADD_SUBDIR separately,
either allows flush to succeed.

Passes against Windows.

Regression test for:

BUG: https://bugzilla.samba.org/show_bug.cgi?id=13428

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Fri May 18 02:38:50 CEST 2018 on sn-devel-144

(cherry picked from commit d42f467a25e75e5487a00378609a24809ddc83ee)
selftest/knownfail
source3/selftest/tests.py
source3/torture/proto.h
source3/torture/test_smb2.c
source3/torture/torture.c