torture: test FSCTL_SET_SPARSE
authorDavid Disseldorp <ddiss@samba.org>
Tue, 26 Aug 2014 17:30:39 +0000 (19:30 +0200)
committerDavid Disseldorp <ddiss@samba.org>
Fri, 29 Aug 2014 17:40:13 +0000 (19:40 +0200)
commit9dc7aaf952e3dd9930cb04b9282883065e01c0e0
treeb0011ad3b34390a14a1f73c06d495cfc68381f66
parentde2164bb3d1923cb0271c20f1594c8eb6b7864d4
torture: test FSCTL_SET_SPARSE

Check that the FILE_ATTRIBUTE_SPARSE is set following FSCTL_SET_SPARSE.
Also confirm that adding the attribute on create doesn't carry through
to subsequent SMB2_GETINFO_FILE requests.

Signed-off-by: David Disseldorp <ddiss@samba.org>
Reviewed-by: Jeremy Allson <jra@samba.org>
source4/torture/smb2/ioctl.c