summaryrefslogtreecommitdiff
path: root/tests/cantrbry.sh.in
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2020-01-02 18:50:26 +0100
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2020-01-02 18:50:26 +0100
commit8a0b1d0eff21fc8f0b6007107490d7064af5bacb (patch)
tree7415d398692285106c1bca95f901798334765074 /tests/cantrbry.sh.in
parent027a17b2714c7db6c1824142547afaa0d1ee27e8 (diff)
Support parsing [device] block size argument with SI suffix
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'tests/cantrbry.sh.in')
-rwxr-xr-xtests/cantrbry.sh.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/cantrbry.sh.in b/tests/cantrbry.sh.in
index 27d74a1..d3ab459 100755
--- a/tests/cantrbry.sh.in
+++ b/tests/cantrbry.sh.in
@@ -13,7 +13,7 @@ fi
COMPRESSORS=$("$TAR2SQFS" --help | tr -d '\015' |\
awk '/Available compressors:/,EOF' | sed -n '/\t/p')
-for size in 4096 8192 16384 32768 65536 131072 262144 524288 1048576; do
+for size in 4k 8k 16k 32k 64k 128k 256k 512k 1M; do
for cmp in $COMPRESSORS; do
for threads in 1 2 3 4; do
name="cantrbry_${cmp}_${size}_${threads}.sqfs"