]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Refactor compression algorithm selection for tests
authorKjeld Schouten <kjeld@schouten-lebbing.nl>
Wed, 4 Dec 2019 21:10:12 +0000 (22:10 +0100)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Wed, 4 Dec 2019 21:10:12 +0000 (13:10 -0800)
commit618b6adfbf136b3b61c6366719650ccfbad189a4
tree0f99c197c3485d71613ceb384d0b9c61eab4089f
parent5a089773742b0c48a7baea32194566ac2987be7d
Refactor compression algorithm selection for tests

- Moves compression algorithms for tests to properties.shlib
- Removes all compression algorithms levels from general tests
- Replaces on with lz4 for compression tests
- Removes random algorithm selection, if not needed
- Cleans copyright header formatting

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: John Kennedy <john.kennedy@delphix.com>
Reviewed-by: Michael Niewöhner <foss@mniewoehner.de>
Signed-off-by: Kjeld Schouten-Lebbing <kjeld@schouten-lebbing.nl>
Closes #9645
13 files changed:
tests/zfs-tests/include/libtest.shlib
tests/zfs-tests/include/properties.shlib
tests/zfs-tests/tests/functional/cli_root/zfs_set/compression_001_pos.ksh
tests/zfs-tests/tests/functional/cli_root/zfs_set/property_alias_001_pos.ksh
tests/zfs-tests/tests/functional/compression/compress_001_pos.ksh
tests/zfs-tests/tests/functional/compression/compress_003_pos.ksh
tests/zfs-tests/tests/functional/compression/compress_004_pos.ksh
tests/zfs-tests/tests/functional/nopwrite/nopwrite_varying_compression.ksh
tests/zfs-tests/tests/functional/rsend/rsend_012_pos.ksh
tests/zfs-tests/tests/functional/rsend/send-c_recv_lz4_disabled.ksh
tests/zfs-tests/tests/functional/rsend/send-c_stream_size_estimate.ksh
tests/zfs-tests/tests/functional/rsend/send-c_verify_ratio.ksh
tests/zfs-tests/tests/functional/rsend/send_realloc_encrypted_files.ksh