summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorTim Zakian <2895723+tzakian@users.noreply.github.com>2019-01-10 18:20:17 (GMT)
committerTim Zakian <2895723+tzakian@users.noreply.github.com>2019-01-10 18:20:17 (GMT)
commit9028682e7ac1e621299b52065d47ba9f74c5c111 (patch)
tree2971fa892b0ac832f959df59edd068b7b9e0230e /tests
parente30b1f73d42a1307ab37c6ddcdb583acf17b4457 (diff)
downloadlz4-9028682e7ac1e621299b52065d47ba9f74c5c111.zip
lz4-9028682e7ac1e621299b52065d47ba9f74c5c111.tar.gz
lz4-9028682e7ac1e621299b52065d47ba9f74c5c111.tar.bz2
Fix pass-through mode
Diffstat (limited to 'tests')
-rw-r--r--tests/Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/tests/Makefile b/tests/Makefile
index 760fc32..7d49b31 100644
--- a/tests/Makefile
+++ b/tests/Makefile
@@ -337,8 +337,11 @@ test-lz4-testmode: lz4 datagen
! ./datagen | $(LZ4) -t
! ./datagen | $(LZ4) -tf
@echo "\n ---- pass-through mode ----"
- ! ./datagen | $(LZ4) -d > $(VOID)
- ./datagen | $(LZ4) -df > $(VOID)
+ @echo "Why hello there " > tmp-tlt2.lz4
+ ! $(LZ4) -f tmp-tlt2.lz4 > $(VOID)
+ ! ./datagen | $(LZ4) -dc > $(VOID)
+ ! ./datagen | $(LZ4) -df > $(VOID)
+ ./datagen | $(LZ4) -dcf > $(VOID)
@echo "Hello World !" > tmp-tlt1
$(LZ4) -dcf tmp-tlt1
@echo "from underground..." > tmp-tlt2
@@ -347,7 +350,7 @@ test-lz4-testmode: lz4 datagen
! $(LZ4) file-does-not-exist
! $(LZ4) -f file-does-not-exist
! $(LZ4) -fm file1-dne file2-dne
- @$(RM) tmp-tlt
+ @$(RM) tmp-tlt tmp-tlt1 tmp-tlt2 tmp-tlt2.lz4
test-lz4-opt-parser: lz4 datagen
@echo "\n ---- test opt-parser ----"