s3: smbtorture: Add new SMB2-DIR-FSYNC test to show behavior of FSYNC on directories.
authorJeremy Allison <jra@samba.org>
Thu, 10 May 2018 18:30:24 +0000 (11:30 -0700)
committerJeremy Allison <jra@samba.org>
Fri, 18 May 2018 00:38:50 +0000 (02:38 +0200)
commitd42f467a25e75e5487a00378609a24809ddc83ee
tree0ac68f1826a3249beb1f31f9a102ab895c8dbf14
parent42aadf42f27053e621f2a6b72448afebb3f5082a
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
selftest/knownfail
source3/selftest/tests.py
source3/torture/proto.h
source3/torture/test_smb2.c
source3/torture/torture.c