diff options
author | David Disseldorp <ddiss@samba.org> | 2013-08-07 17:16:12 +0200 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2013-08-09 22:03:38 +0200 |
commit | d944841211a407c3587ccabd3615df55fba72aaf (patch) | |
tree | 7ee4f3662921fcf7140dd0110635997920486609 /source3/intl/linux-msg.sed | |
parent | 8fde65e1998e8dfa5210b74c04a5ee6e6c837202 (diff) | |
download | samba-d944841211a407c3587ccabd3615df55fba72aaf.tar.gz samba-d944841211a407c3587ccabd3615df55fba72aaf.tar.bz2 samba-d944841211a407c3587ccabd3615df55fba72aaf.zip |
torture: add smb2 FSCTL_[GET/SET]_COMPRESSION test
This test simply creates a file and checks the compression state before
and after FSCTL_SET_COMPRESSION(COMPRESSION_FORMAT_DEFAULT).
The test expects the compression state to be COMPRESSION_FORMAT_LZNT1
after set, conforming to Windows Server behaviour.
If the server responds to the first FSCTL_GET_COMPRESSION request with
NT_STATUS_NOT_SUPPORTED or NT_STATUS_INVALID_DEVICE_REQUEST, then the
test is skipped. This allows it to run during selftest.
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 Aug 9 22:03:39 CEST 2013 on sn-devel-104
Diffstat (limited to 'source3/intl/linux-msg.sed')
0 files changed, 0 insertions, 0 deletions