torture: add more [no-]compress-on-open ioctl tests
authorDavid Disseldorp <ddiss@samba.org>
Tue, 13 Aug 2013 16:07:27 +0000 (18:07 +0200)
committerJeremy Allison <jra@samba.org>
Thu, 15 Aug 2013 20:40:45 +0000 (13:40 -0700)
commit2c7c3fd2d68ca8ce82f46c32d6c97b02131af524
tree6aa953a734ecd2471b3f54d94698faecae045278
parent337a94f7568fb3f5e02dbee0e10659de99258c8e
torture: add more [no-]compress-on-open ioctl tests

compress_create_with_attr: Specifies the FILE_ATTRIBUTE_COMPRESSED
attribute at create time, then checks the created file.

compress_inherit_disable: Creates under a compressed directory, a file
with the NTCREATEX_OPTIONS_NO_COMPRESSION option. Then checks that the
newly created file doesn't inherit the parent compression state.

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