torture: test FSCTL_SET_SPARSE without SetSparse buffer
authorDavid Disseldorp <ddiss@samba.org>
Wed, 27 Aug 2014 13:17:04 +0000 (15:17 +0200)
committerDavid Disseldorp <ddiss@samba.org>
Fri, 29 Aug 2014 17:40:13 +0000 (19:40 +0200)
commita3aee061b4be5d4813940a102f042f18d744e82e
treeb7d89bad44d98c1160172ffd03f326329948d56f
parent9a3e88bc0a60ba672c5f72c0e9e60622e0818960
torture: test FSCTL_SET_SPARSE without SetSparse buffer

This test checks for the following MS-FSCC 2.3.63 behaviour:

If there is no data element, the sparse flag for the file is set,
exactly as if the FILE_SET_SPARSE_BUFFER element was supplied and had a
SetSparse value of TRUE.

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