[test] Add new CLI testing platform
Adds the new CLI testing platform that I'm proposing. See the added `README.md` for details.
This commit is contained in:
@@ -0,0 +1,75 @@
|
||||
+ datagen
|
||||
+ zstd --fast=10 file -o file-f10.zst
|
||||
+ zstd --fast=1 file -o file-f1.zst
|
||||
+ zstd -1 file -o file-1.zst
|
||||
+ zstd -19 file -o file-19.zst
|
||||
+ zstd -22 --ultra file -o file-22.zst
|
||||
+ zstd -t file-f10.zst file-f1.zst file-1.zst file-19.zst file-22.zst
|
||||
+ cmp_size -ne file-19.zst file-22.zst
|
||||
+ cmp_size -lt file-19.zst file-1.zst
|
||||
+ cmp_size -lt file-1.zst file-f1.zst
|
||||
+ cmp_size -lt file-f1.zst file-f10.zst
|
||||
+ zstd --fast file -f
|
||||
+ cmp file.zst file-f1.zst
|
||||
+ zstd -0 file -o file-0.zst
|
||||
+ zstd -f file
|
||||
+ cmp file.zst file-0.zst
|
||||
+ zstd -99 file -o file-99.zst
|
||||
Warning : compression level higher than max, reduced to 19
|
||||
+ cmp file-19.zst file-99.zst
|
||||
+ zstd --fast=200000 file -c
|
||||
+ zstd -t
|
||||
+ zstd -5000000000 -f file
|
||||
error: numeric value overflows 32-bit unsigned int
|
||||
+ :
|
||||
+ zstd --fast=5000000000 -f file
|
||||
error: numeric value overflows 32-bit unsigned int
|
||||
+ :
|
||||
+ ZSTD_CLEVEL=-10
|
||||
+ zstd file -o file-f10-env.zst
|
||||
+ ZSTD_CLEVEL=1
|
||||
+ zstd file -o file-1-env.zst
|
||||
+ ZSTD_CLEVEL=+19
|
||||
+ zstd file -o file-19-env.zst
|
||||
+ ZSTD_CLEVEL=+99
|
||||
+ zstd file -o file-99-env.zst
|
||||
Warning : compression level higher than max, reduced to 19
|
||||
+ cmp file-f10.zst file-f10-env.zst
|
||||
+ cmp file-1.zst file-1-env.zst
|
||||
+ cmp file-19.zst file-19-env.zst
|
||||
+ cmp file-99.zst file-99-env.zst
|
||||
+ zstd -f file
|
||||
+ ZSTD_CLEVEL=-
|
||||
+ zstd -f file -o file-env.zst
|
||||
Ignore environment variable setting ZSTD_CLEVEL=-: not a valid integer value
|
||||
+ cmp file.zst file-env.zst
|
||||
+ ZSTD_CLEVEL=+
|
||||
+ zstd -f file -o file-env.zst
|
||||
Ignore environment variable setting ZSTD_CLEVEL=+: not a valid integer value
|
||||
+ cmp file.zst file-env.zst
|
||||
+ ZSTD_CLEVEL=a
|
||||
+ zstd -f file -o file-env.zst
|
||||
Ignore environment variable setting ZSTD_CLEVEL=a: not a valid integer value
|
||||
+ cmp file.zst file-env.zst
|
||||
+ ZSTD_CLEVEL=-a
|
||||
+ zstd -f file -o file-env.zst
|
||||
Ignore environment variable setting ZSTD_CLEVEL=-a: not a valid integer value
|
||||
+ cmp file.zst file-env.zst
|
||||
+ ZSTD_CLEVEL=+a
|
||||
+ zstd -f file -o file-env.zst
|
||||
Ignore environment variable setting ZSTD_CLEVEL=+a: not a valid integer value
|
||||
+ cmp file.zst file-env.zst
|
||||
+ ZSTD_CLEVEL=3a7
|
||||
+ zstd -f file -o file-env.zst
|
||||
Ignore environment variable setting ZSTD_CLEVEL=3a7: not a valid integer value
|
||||
+ cmp file.zst file-env.zst
|
||||
+ ZSTD_CLEVEL=5000000000
|
||||
+ zstd -f file -o file-env.zst
|
||||
Ignore environment variable setting ZSTD_CLEVEL=5000000000: numeric value too large
|
||||
+ cmp file.zst file-env.zst
|
||||
+ ZSTD_CLEVEL=10
|
||||
+ zstd -f file -1 -o file-1-env.zst
|
||||
+ ZSTD_CLEVEL=10
|
||||
+ zstd -f file --fast=1 -o file-f1-env.zst
|
||||
+ cmp file-1.zst file-1-env.zst
|
||||
+ cmp file-f1.zst file-f1-env.zst
|
||||
Reference in New Issue
Block a user