diff options
author | Denys Vlasenko | 2017-07-15 19:18:58 +0200 |
---|---|---|
committer | Denys Vlasenko | 2017-07-18 19:20:58 +0200 |
commit | 56a361bec15bdc3ee13b2208d43747298f281867 (patch) | |
tree | 68e43c02b9fc9b81d6e297c02d7ef70c03bca303 /util-linux | |
parent | 6f13dd1d6574bbc0eacd5574d2e451596a92df5d (diff) | |
download | busybox-56a361bec15bdc3ee13b2208d43747298f281867.zip busybox-56a361bec15bdc3ee13b2208d43747298f281867.tar.gz |
fix more instances of ": $((a++))" in shell scripts
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'util-linux')
-rwxr-xr-x | util-linux/mkfs_ext2_test.sh | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/util-linux/mkfs_ext2_test.sh b/util-linux/mkfs_ext2_test.sh index f5347cc..df22963 100755 --- a/util-linux/mkfs_ext2_test.sh +++ b/util-linux/mkfs_ext2_test.sh @@ -47,7 +47,7 @@ test_mke2fs() { kilobytes=60 while true; do test_mke2fs || exit 1 - : $((kilobytes++)) + kilobytes=$((kilobytes+1)) test $kilobytes = 200 && break done @@ -56,7 +56,7 @@ done kilobytes=$((1 * 8*1024 - 50)) while true; do test_mke2fs || exit 1 - : $((kilobytes++)) + kilobytes=$((kilobytes+1)) test $kilobytes = $((1 * 8*1024 + 300)) && break done @@ -65,7 +65,7 @@ done kilobytes=$((2 * 8*1024 - 50)) while true; do test_mke2fs || exit 1 - : $((kilobytes++)) + kilobytes=$((kilobytes+1)) test $kilobytes = $((2 * 8*1024 + 400)) && break done @@ -74,7 +74,7 @@ done kilobytes=$((3 * 8*1024 - 50)) while true; do test_mke2fs || exit 1 - : $((kilobytes++)) + kilobytes=$((kilobytes+1)) test $kilobytes = $((3 * 8*1024 + 500)) && break done @@ -83,7 +83,7 @@ done kilobytes=$((4 * 8*1024 - 50)) while true; do test_mke2fs || exit 1 - : $((kilobytes++)) + kilobytes=$((kilobytes+1)) test $kilobytes = $((4 * 8*1024 + 600)) && break done @@ -92,7 +92,7 @@ done kilobytes=$((5 * 8*1024 - 50)) while true; do test_mke2fs || exit 1 - : $((kilobytes++)) + kilobytes=$((kilobytes+1)) test $kilobytes = $((5 * 8*1024 + 700)) && break done exit |