summaryrefslogtreecommitdiffstats
path: root/tests/Makefile
diff options
context:
space:
mode:
authorYann Collet <cyan@fb.com>2020-08-25 21:53:08 (GMT)
committerYann Collet <cyan@fb.com>2020-08-25 21:53:08 (GMT)
commit5b3f9453108f94aef856304db8146cde54bdcbb8 (patch)
tree188d1c0b0c9781103a7da9a97f1e3ac058bb6411 /tests/Makefile
parent224735ea1b7b224e14caf2e39b21854c439a7179 (diff)
downloadlz4-5b3f9453108f94aef856304db8146cde54bdcbb8.zip
lz4-5b3f9453108f94aef856304db8146cde54bdcbb8.tar.gz
lz4-5b3f9453108f94aef856304db8146cde54bdcbb8.tar.bz2
fix test under non-interactive environment
Diffstat (limited to 'tests/Makefile')
-rw-r--r--tests/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/Makefile b/tests/Makefile
index 2fe9e69..866ff5d 100644
--- a/tests/Makefile
+++ b/tests/Makefile
@@ -213,7 +213,7 @@ test-lz4-contentSize: lz4 datagen
$(LZ4) -v tmplc1 -c | $(LZ4) -t
$(LZ4) -v --content-size tmplc1 -c | $(LZ4) -d > tmplc2
$(DIFF) tmplc1 tmplc2
- $(LZ4) -f tmplc1
+ $(LZ4) -f tmplc1 -c > tmplc1.lz4
$(LZ4) --content-size tmplc1 -c > tmplc2.lz4
! $(DIFF) tmplc1.lz4 tmplc2.lz4 # must differ, due to content size
$(LZ4) --content-size < tmplc1 > tmplc3.lz4