torture: test FSCTL_SET_SPARSE against a directory
commit9a3e88bc0a60ba672c5f72c0e9e60622e0818960
authorDavid Disseldorp <ddiss@samba.org>
Wed, 27 Aug 2014 12:45:58 +0000 (27 14:45 +0200)
committerDavid Disseldorp <ddiss@samba.org>
Fri, 29 Aug 2014 17:40:13 +0000 (29 19:40 +0200)
treeda54cefee769617d9b777486e45e1b05c9bdae5d
parent9dc7aaf952e3dd9930cb04b9282883065e01c0e0
torture: test FSCTL_SET_SPARSE against a directory

Expect STATUS_INVALID_PARAMETER, as is returned by Windows Server 2012
and 2008. Samba is currently broken, in that it currently processes the
request and sets the sparse DOS attribute on the directory - fix to
follow.

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