From: Hilko Bengen Date: Sat, 9 Jan 2021 12:08:28 +0000 (+0100) Subject: Avoid bashism in data format test X-Git-Tag: archive/raspbian/1.38.2-2+rpi1~2^2^2^2^2^2^2^2^2^2^2^2^2^2^2^2^2^2~5 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=dd527d048937915cb0b2a334bdaeb098762c1cd9;p=nbdkit.git Avoid bashism in data format test Gbp-Pq: Name 0006-Avoid-bashism-in-data-format-test.patch --- diff --git a/tests/test-data-format.sh b/tests/test-data-format.sh index eb9d374..19d03f4 100755 --- a/tests/test-data-format.sh +++ b/tests/test-data-format.sh @@ -276,7 +276,7 @@ do_test '<( for i in `seq 0 7`; do printf "%04d" $i; done )' \ 'b"00000001000200030004000500060007"' do_test '<( i=0 while :; do - printf "%04d" $((i++)) + printf "%04d" $i; i=$((i+1)) done )[:65]' \ 'b"00000001000200030004000500060007000800090010001100120013001400150"'