diff options
author | Yann Collet <yann.collet.73@gmail.com> | 2014-11-04 11:11:14 (GMT) |
---|---|---|
committer | Yann Collet <yann.collet.73@gmail.com> | 2014-11-04 11:11:14 (GMT) |
commit | 89d8b98d0dd896dccf6964fa3c6bb6ae6a2349b0 (patch) | |
tree | 4ae65431046b4bff3f2ced721e6a4c9edb9b7ef8 /programs/Makefile | |
parent | d7b9e31702137c589d070776427ff57d4740eb8d (diff) | |
download | lz4-89d8b98d0dd896dccf6964fa3c6bb6ae6a2349b0.zip lz4-89d8b98d0dd896dccf6964fa3c6bb6ae6a2349b0.tar.gz lz4-89d8b98d0dd896dccf6964fa3c6bb6ae6a2349b0.tar.bz2 |
Fixed issue 44 : stopped concatenated stream on null size frame (thanks to Brendan O'Connor)
Diffstat (limited to 'programs/Makefile')
-rw-r--r-- | programs/Makefile | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/programs/Makefile b/programs/Makefile index 1a81d73..ba08cfb 100644 --- a/programs/Makefile +++ b/programs/Makefile @@ -119,7 +119,7 @@ datagen : datagen.c clean: - @rm -f core *.o \ + @rm -f core *.o *.test \ lz4$(EXT) lz4c$(EXT) lz4c32$(EXT) \ fullbench$(EXT) fullbench32$(EXT) \ fuzzer$(EXT) fuzzer32$(EXT) \ @@ -166,6 +166,16 @@ test-lz4: lz4 datagen ./datagen | ./lz4 | ./lz4 -vdq > $(VOID) ./datagen -g256MB | ./lz4 -vqB4D | ./lz4 -vdq > $(VOID) ./datagen -g6GB | ./lz4 -vqB5D | ./lz4 -vdq > $(VOID) + echo -n > empty.test + echo hi > nonempty.test + cat nonempty.test empty.test nonempty.test > orig.test + @./lz4 -zq empty.test > empty.lz4.test + @./lz4 -zq nonempty.test > nonempty.lz4.test + cat nonempty.lz4.test empty.lz4.test nonempty.lz4.test > concat.lz4.test + ./lz4 -d concat.lz4.test > result.test + sdiff orig.test result.test + @rm *.test + test-lz4c: lz4c datagen |