summaryrefslogtreecommitdiffstats
path: root/tests/Makefile
diff options
context:
space:
mode:
authorJennifer Liu <jenniferliu620@fb.com>2018-06-27 00:53:12 (GMT)
committerJennifer Liu <jenniferliu620@fb.com>2018-06-27 00:53:12 (GMT)
commit8745638d7c04bdfc33bcf656ed262c2588534db5 (patch)
tree27196bb510986fe2d96afe59ab67e7fcb69f2311 /tests/Makefile
parent9ee5183d9bdfd2f39e8ae2e2a4efff25e61c226d (diff)
downloadlz4-8745638d7c04bdfc33bcf656ed262c2588534db5.zip
lz4-8745638d7c04bdfc33bcf656ed262c2588534db5.tar.gz
lz4-8745638d7c04bdfc33bcf656ed262c2588534db5.tar.bz2
Fixed invalid argument test and reformatted else
Diffstat (limited to 'tests/Makefile')
-rw-r--r--tests/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/Makefile b/tests/Makefile
index abaf648..0e7924a 100644
--- a/tests/Makefile
+++ b/tests/Makefile
@@ -268,8 +268,8 @@ test-lz4-basic: lz4 datagen unlz4 lz4cat
test "$(shell ./datagen -g20KB | $(LZ4) -c --fast=1 | wc -c)" -eq "$(shell ./datagen -g20KB| $(LZ4) -c --fast| wc -c)" # checks default fast compression is -1
test "$(shell ./datagen -g20KB | $(LZ4) -c -3 | wc -c)" -lt "$(shell ./datagen -g20KB| $(LZ4) -c --fast=1 | wc -c)" # 3 vs -1
test "$(shell ./datagen -g20KB | $(LZ4) -c -1 | wc -c)" -lt "$(shell ./datagen -g20KB| $(LZ4) -c --fast=2 | wc -c)" # 1 vs -2
- test "$(shell $(LZ4) -c --fast=0 tmp-tlb-dg20k | wc -c)" -eq 0 # lz4 should fail when fast=0
- test "$(shell $(LZ4) -c --fast=-1 tmp-tlb-dg20k | wc -c)" -eq 0 # lz4 should fail when fast=-1
+ ! $(LZ4) -c --fast=0 tmp-tlb-dg20K # lz4 should fail when fast=0
+ ! $(LZ4) -c --fast=-1 tmp-tlb-dg20K # lz4 should fail when fast=-1
@$(RM) tmp-tlb*