summaryrefslogtreecommitdiffstats
path: root/programs/Makefile
diff options
context:
space:
mode:
authorYann Collet <yann.collet.73@gmail.com>2015-05-25 06:50:41 (GMT)
committerYann Collet <yann.collet.73@gmail.com>2015-05-25 06:50:41 (GMT)
commitacae59a73969f436f95ed31130efe0ee9f7b3e48 (patch)
treed60ed8b68fe40160d14d2c9151f86e025c5f4302 /programs/Makefile
parent91c1b9a682a8b4d6e9b5eb47194890c14480116d (diff)
downloadlz4-acae59a73969f436f95ed31130efe0ee9f7b3e48.zip
lz4-acae59a73969f436f95ed31130efe0ee9f7b3e48.tar.gz
lz4-acae59a73969f436f95ed31130efe0ee9f7b3e48.tar.bz2
Fixed : default sparse mode disabled on stdout, to support ` >>` redirection scenario reported by Takayuki Matsuoka (#110)
Diffstat (limited to 'programs/Makefile')
-rw-r--r--programs/Makefile12
1 files changed, 12 insertions, 0 deletions
diff --git a/programs/Makefile b/programs/Makefile
index f015d27..43f1789 100644
--- a/programs/Makefile
+++ b/programs/Makefile
@@ -171,6 +171,18 @@ test-lz4-sparse: lz4 datagen
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
+ @echo "\n Compatibility with Append :"
+ ./datagen -P100 -g1M > tmp1M
+ cat tmp1M > tmp2M
+ cat tmp1M >> tmp2M
+ ./lz4 -B5 -v tmp1M tmpC
+ ./lz4 -d -v tmpC tmpR
+ ./lz4 -d -v tmpC >> tmpR
+ ls -ls tmp*
+ diff tmp2M tmpR
+ @rm tmp*
+
+
test-lz4-contentSize: lz4 datagen
@echo "\n ---- test original size support ----"