summaryrefslogtreecommitdiffstats
path: root/programs/Makefile
diff options
context:
space:
mode:
authorYann Collet <yann.collet.73@gmail.com>2015-05-20 07:58:59 (GMT)
committerYann Collet <yann.collet.73@gmail.com>2015-05-20 07:58:59 (GMT)
commit26065c3f47381c6ebe56ea114015b3c2b1c2a615 (patch)
tree7e327ecb91a65598ad1ecb091936bdeaa28a18bf /programs/Makefile
parent87e560ed8aa776a864c105f0ab064d45aca76cbd (diff)
downloadlz4-26065c3f47381c6ebe56ea114015b3c2b1c2a615.zip
lz4-26065c3f47381c6ebe56ea114015b3c2b1c2a615.tar.gz
lz4-26065c3f47381c6ebe56ea114015b3c2b1c2a615.tar.bz2
Fixed : LZ4IO exits too early when frame crc not present, reported by Yongwoon Cho (#106)
Diffstat (limited to 'programs/Makefile')
-rw-r--r--programs/Makefile11
1 files changed, 9 insertions, 2 deletions
diff --git a/programs/Makefile b/programs/Makefile
index 1798b8f..f015d27 100644
--- a/programs/Makefile
+++ b/programs/Makefile
@@ -168,8 +168,9 @@ test-lz4-sparse: lz4 datagen
ls -ls tmpOdd
@rm tmp*
@echo "\n Compatibility with Console :"
- ./lz4 COPYING | ./lz4 -d -c
- ./lz4 COPYING | ./lz4 -d | cat
+ echo "Hello World 1 !" | ./lz4 | ./lz4 -d -c
+ echo "Hello World 2 !" | ./lz4 | ./lz4 -d | cat
+ echo "Hello World 3 !" | ./lz4 --no-frame-crc | ./lz4 -d -c
test-lz4-contentSize: lz4 datagen
@echo "\n ---- test original size support ----"
@@ -214,6 +215,11 @@ test-lz4-basic: lz4 datagen
@echo "\n ---- test lz4 basic compression/decompression ----"
./datagen -g0 | ./lz4 -v | ./lz4 -t
./datagen -g16KB | ./lz4 -9 | ./lz4 -t
+ ./datagen -g20KB > tmpSrc
+ ./lz4 < tmpSrc | ./lz4 -d > tmpRes
+ diff -q tmpSrc tmpRes
+ ./lz4 --no-frame-crc < tmpSrc | ./lz4 -d > tmpRes
+ diff -q tmpSrc tmpRes
./datagen | ./lz4 | ./lz4 -t
./datagen -g6M -P99 | ./lz4 -9BD | ./lz4 -t
./datagen -g17M | ./lz4 -9v | ./lz4 -qt
@@ -221,6 +227,7 @@ test-lz4-basic: lz4 datagen
./datagen -g256MB | ./lz4 -vqB4D | ./lz4 -t
./datagen -g6GB | ./lz4 -vqB5D | ./lz4 -qt
./datagen -g6GB | ./lz4 -vq9BD | ./lz4 -qt
+ @rm tmp*
test-lz4: lz4 datagen test-lz4-basic test-lz4-multiple test-lz4-sparse test-lz4-contentSize test-lz4-frame-concatenation
@echo "\n ---- test pass-through ----"