Add CLI Test

This commit is contained in:
W. Felix Handte 2025-01-24 15:41:49 -05:00
parent 0369a699f1
commit 7c1cabaa14
2 changed files with 21 additions and 0 deletions

View file

@ -0,0 +1,14 @@
#!/bin/sh
datagen -g256M > file
zstd --long=30 --single-thread --constrain-window=http-zstd -f < file > file.zst
zstd -l -v file.zst
zstd --long=30 --single-thread --constrain-window=http-dcz -f < file > file.zst
zstd -l -v file.zst
cp file dict
zstd --long=30 --single-thread --constrain-window=http-dcz --patch-from dict -f file
zstd -l -v file.zst
rm dict file file.zst

View file

@ -0,0 +1,7 @@
...
Window Size: 8.00 MiB (8388608 B)
...
Window Size: 8.00 MiB (8388608 B)
...
Window Size: 128 MiB (134217728 B)
...