From 50a1a56051c77bd16f4a5c52f650c10ac8db57c2 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sun, 24 Jul 2011 11:43:47 +0200 Subject: [PATCH] tests: mixed: correct size-enumeration logic * tests/mixed (sizes): Fix misplaced "&& break" that made us test only with a size of 0, rather than all sizes in 0..64. --- tests/mixed | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/mixed b/tests/mixed index bd561e8..22913df 100644 --- a/tests/mixed +++ b/tests/mixed @@ -48,7 +48,7 @@ in_str=0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ_-+=% for i in 0 1 2 3 4 5 6 7 8 9 a; do in_str="$in_str$in_str" ;done # Start with some small sizes. $(seq 64) -sizes=$(i=0; while :; do echo $i; test $i = 64; i=$(expr $i + 1) && break; done) +sizes=$(i=0; while :; do echo $i; test $i = 64 && break; i=$(expr $i + 1); done) # gzip's internal buffer size is 32KiB + 64 bytes: sizes="$sizes 32831 32832 32833" -- 2.47.2