torture/ioctl: switch sparse src/dest dup ext behaviour
authorDavid Disseldorp <ddiss@samba.org>
Thu, 22 Sep 2016 07:00:07 +0000 (00:00 -0700)
committerJeremy Allison <jra@samba.org>
Thu, 22 Sep 2016 22:23:08 +0000 (00:23 +0200)
commitbff3e5efba36395a68f134bf58566611b65f35d5
tree4d1b3fa391b08db91a09db3a7c96cd791d0b56d7
parent710f06702b9243dcbad3c2170271a030d2ff5a01
torture/ioctl: switch sparse src/dest dup ext behaviour

Contrary to 2.3.8 FSCTL_DUPLICATE_EXTENTS_TO_FILE
STATUS_NOT_SUPPORTED: Target file is sparse, while source is a
non-sparse file.

...Windows Server 2016 RTM appears to respond the other way around.

Signed-off-by: David Disseldorp <ddiss@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Fri Sep 23 00:23:09 CEST 2016 on sn-devel-144
source4/torture/smb2/ioctl.c