From 5ae1cb9fa1f47a257d220dd5c07a2ecea4124f60 Mon Sep 17 00:00:00 2001 From: Yann Collet Date: Tue, 4 Mar 2025 15:24:43 -0800 Subject: [PATCH] added a cli test for new command --jobsize --- tests/cli-tests/compression/multi-threaded.sh | 1 + tests/cli-tests/compression/multi-threaded.sh.stderr.exact | 1 + 2 files changed, 2 insertions(+) diff --git a/tests/cli-tests/compression/multi-threaded.sh b/tests/cli-tests/compression/multi-threaded.sh index 17a5eb518..ac094129e 100755 --- a/tests/cli-tests/compression/multi-threaded.sh +++ b/tests/cli-tests/compression/multi-threaded.sh @@ -9,6 +9,7 @@ zstd --rsyncable -f file -q ; zstd -t file.zst zstd -T0 -f file -q ; zstd -t file.zst zstd -T0 --auto-threads=logical -f file -q ; zstd -t file.zst zstd -T0 --auto-threads=physical -f file -q ; zstd -t file.zst +zstd -T0 --jobsize=1M -f file -q ; zstd -t file.zst # multi-thread decompression warning test zstd -T0 -f file -q ; zstd -t file.zst; zstd -T0 -d file.zst -o file3 diff --git a/tests/cli-tests/compression/multi-threaded.sh.stderr.exact b/tests/cli-tests/compression/multi-threaded.sh.stderr.exact index 11daff6ba..0dcf52ac4 100644 --- a/tests/cli-tests/compression/multi-threaded.sh.stderr.exact +++ b/tests/cli-tests/compression/multi-threaded.sh.stderr.exact @@ -7,5 +7,6 @@ file.zst : 65537 bytes file.zst : 65537 bytes file.zst : 65537 bytes file.zst : 65537 bytes +file.zst : 65537 bytes Warning : decompression does not support multi-threading file.zst : 65537 bytes -- 2.47.2