summaryrefslogtreecommitdiffstats
path: root/tests/test_custom_block_sizes.sh
diff options
context:
space:
mode:
authorBlaise Sanouillet <43636048+blezsan@users.noreply.github.com>2018-10-01 12:22:50 (GMT)
committerBlaise Sanouillet <43636048+blezsan@users.noreply.github.com>2018-10-01 12:22:50 (GMT)
commitd4703852b1f1e1b3defcfc677cabec77672e171d (patch)
treeddf8d48524395acee78c429903947d470856f253 /tests/test_custom_block_sizes.sh
parent7f18842244c3d2671fb404e8dce08da4788a1126 (diff)
downloadlz4-d4703852b1f1e1b3defcfc677cabec77672e171d.zip
lz4-d4703852b1f1e1b3defcfc677cabec77672e171d.tar.gz
lz4-d4703852b1f1e1b3defcfc677cabec77672e171d.tar.bz2
support custom block sizes: remove unneeded fudging, fix leaked filehandles, other nits
Diffstat (limited to 'tests/test_custom_block_sizes.sh')
-rwxr-xr-xtests/test_custom_block_sizes.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/test_custom_block_sizes.sh b/tests/test_custom_block_sizes.sh
index 7317b65..aba6733 100755
--- a/tests/test_custom_block_sizes.sh
+++ b/tests/test_custom_block_sizes.sh
@@ -13,10 +13,10 @@ TMPFILE2=/tmp/test_custom_block_sizes2.$$
$DATAGEN -g12345678 > $TMPFILE1
$DATAGEN -g12345678 > $TMPFILE2
-echo Testing -B32
-$LZ4 -f -B32 $TMPFILE && failures="31 (should fail) "
+echo Testing -B31
+$LZ4 -f -B31 $TMPFILE1 && failures="31 (should fail) "
-for blocksize in 512 65535 65536
+for blocksize in 32 65535 65536
do
echo Testing -B$blocksize
$LZ4 -f -B$blocksize $TMPFILE1