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^2^2^2^2^2^2^2~3 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=65799befdf9607912e7d774c61ddb87ca3c39637;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 f7ca2ef..4d55fd7 100755 --- a/tests/test-data-format.sh +++ b/tests/test-data-format.sh @@ -251,7 +251,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"'