diff options
author | Yann Collet <Cyan4973@users.noreply.github.com> | 2017-03-06 00:15:08 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-03-06 00:15:08 (GMT) |
commit | 9141ada8de016b201520c009cbfff527b8c3c119 (patch) | |
tree | eca5d5041282d6a532529f95990d1f1f593a9627 | |
parent | 97df1c9789cbc8a7891cadbd49ea5053574e2f72 (diff) | |
parent | 0dfb0b9dad2a8cb7cc347d2139bf9b84de7e1481 (diff) | |
download | lz4-9141ada8de016b201520c009cbfff527b8c3c119.zip lz4-9141ada8de016b201520c009cbfff527b8c3c119.tar.gz lz4-9141ada8de016b201520c009cbfff527b8c3c119.tar.bz2 |
Merge pull request #328 from ldv-alt/dev
Fix test-lz4-basic
-rw-r--r-- | tests/Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/Makefile b/tests/Makefile index ebab278..d68c700 100644 --- a/tests/Makefile +++ b/tests/Makefile @@ -235,19 +235,19 @@ test-lz4-basic: lz4 datagen unlz4 lz4cat ./datagen -g33M | $(LZ4) --no-frame-crc | $(LZ4) -t ./datagen -g256MB | $(LZ4) -vqB4D | $(LZ4) -t @echo "hello world" > tmp - $(LZ4) --rm -f tmp + $(LZ4) --rm -f tmp tmp.lz4 test ! -f tmp # must fail (--rm) test -f tmp.lz4 $(PRGDIR)/lz4cat tmp.lz4 # must display hello world test -f tmp.lz4 - $(PRGDIR)/unlz4 --rm tmp.lz4 + $(PRGDIR)/unlz4 --rm tmp.lz4 tmp test -f tmp test ! -f tmp.lz4 # must fail (--rm) test ! -f tmp.lz4.lz4 # must fail (unlz4) $(PRGDIR)/lz4cat tmp # pass-through mode test -f tmp test ! -f tmp.lz4 # must fail (lz4cat) - $(LZ4) tmp # creates tmp.lz4 + $(LZ4) tmp tmp.lz4 # creates tmp.lz4 $(PRGDIR)/lz4cat < tmp.lz4 > tmp3 # checks lz4cat works with stdin (#285) $(DIFF) -q tmp tmp3 $(PRGDIR)/lz4cat < tmp > tmp2 # checks lz4cat works with stdin (#285) |