Testing first block decompression cli
This commit is contained in:
parent
44e122053b
commit
0b25ab2202
BIN
tests/files/rle-first-block.zst
Normal file
BIN
tests/files/rle-first-block.zst
Normal file
Binary file not shown.
BIN
tests/golden/huffman-compressed-larger
Normal file
BIN
tests/golden/huffman-compressed-larger
Normal file
Binary file not shown.
@ -242,6 +242,11 @@ $ZSTD -f tmp && die "attempt to compress a non existing file"
|
||||
test -f tmp.zst # destination file should still be present
|
||||
rm tmp*
|
||||
|
||||
println "\n===> decompression only tests "
|
||||
head -c 1M /dev/zero > tmp
|
||||
$ZSTD -d -o tmp1 "$TESTDIR/files/rle-first-block.zst"
|
||||
$DIFF -s tmp1 tmp
|
||||
rm tmp*
|
||||
|
||||
println "test : compress multiple files"
|
||||
println hello > tmp1
|
||||
@ -583,8 +588,8 @@ $ZSTD -t tmpSplit.* && die "bad file not detected !"
|
||||
|
||||
println "\n===> golden files tests "
|
||||
|
||||
$ZSTD -t -r "$TESTDIR/files"
|
||||
$ZSTD -c -r "$TESTDIR/files" | $ZSTD -t
|
||||
$ZSTD -t -r "$TESTDIR/golden"
|
||||
$ZSTD -c -r "$TESTDIR/golden" | $ZSTD -t
|
||||
|
||||
|
||||
println "\n===> benchmark mode tests "
|
||||
|
Loading…
x
Reference in New Issue
Block a user