torture/ioctl: test set_compression(format_none)
authorDavid Disseldorp <ddiss@samba.org>
Thu, 5 Jan 2017 16:10:42 +0000 (17:10 +0100)
committerJeremy Allison <jra@samba.org>
Mon, 9 Jan 2017 18:31:20 +0000 (19:31 +0100)
commit6fde123176409e261d955e24b3d28e5124f33bed
tree86a8b91b183870cfc02c04f21996c6e837be03c3
parent573762436ae4fe2663b12be3f5f9c4314348e312
torture/ioctl: test set_compression(format_none)

This test case was overlooked in the previous bso#12144 update -
set compression requests with format=COMPRESSION_FORMAT_NONE should
succeed if the server / backing storage doesn't offer compression
support.
Confirm that Samba matches Windows Server 2016 ReFS behaviour here.

Bug: https://bugzilla.samba.org/show_bug.cgi?id=12144

Reported-by: Nick Barrett <nick@barrett.org.nz>
Signed-off-by: David Disseldorp <ddiss@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source4/torture/smb2/ioctl.c