Skip to content

Commit 7c1caba

Browse files
committed
Add CLI Test
1 parent 0369a69 commit 7c1caba

File tree

2 files changed

+21
-0
lines changed

2 files changed

+21
-0
lines changed
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
#!/bin/sh
2+
datagen -g256M > file
3+
4+
zstd --long=30 --single-thread --constrain-window=http-zstd -f < file > file.zst
5+
zstd -l -v file.zst
6+
7+
zstd --long=30 --single-thread --constrain-window=http-dcz -f < file > file.zst
8+
zstd -l -v file.zst
9+
10+
cp file dict
11+
zstd --long=30 --single-thread --constrain-window=http-dcz --patch-from dict -f file
12+
zstd -l -v file.zst
13+
14+
rm dict file file.zst
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
...
2+
Window Size: 8.00 MiB (8388608 B)
3+
...
4+
Window Size: 8.00 MiB (8388608 B)
5+
...
6+
Window Size: 128 MiB (134217728 B)
7+
...

0 commit comments

Comments
 (0)