summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorYann Collet <cyan@fb.com>2017-06-12 22:47:43 (GMT)
committerYann Collet <cyan@fb.com>2017-06-12 22:47:43 (GMT)
commitd18084c65561cddec48f74c3a91363c9f8e6f709 (patch)
tree93c869c3ee90c76387071a2807db373fdfc3eaa5 /tests
parent139a387d179dfac91dbaeef994bbbea4d79eb9ba (diff)
downloadlz4-d18084c65561cddec48f74c3a91363c9f8e6f709.zip
lz4-d18084c65561cddec48f74c3a91363c9f8e6f709.tar.gz
lz4-d18084c65561cddec48f74c3a91363c9f8e6f709.tar.bz2
report where decompression ends (#313)
suggested by @ehem note : only works for files < 2 GB
Diffstat (limited to 'tests')
-rw-r--r--tests/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/Makefile b/tests/Makefile
index bc22423..07bf401 100644
--- a/tests/Makefile
+++ b/tests/Makefile
@@ -260,6 +260,9 @@ test-lz4-basic: lz4 datagen unlz4 lz4cat
$(LZ4) -d --rm -- -z tmp4 # uncompresses ./-z into tmp4
test ! -f ./-z
$(DIFF) -q tmp tmp4
+ $(LZ4) -f tmp
+ cat tmp >> tmp.lz4
+ $(LZ4) -f tmp.lz4 # uncompress valid frame followed by invalid data
@$(RM) tmp*
test-lz4-hugefile: lz4 datagen