projects
/
nbdkit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a56c3ab
)
Avoid bashism in data format test
author
Hilko Bengen
<bengen@debian.org>
Sat, 9 Jan 2021 12:08:28 +0000
(13:08 +0100)
committer
Hilko Bengen
<bengen@debian.org>
Mon, 27 Dec 2021 19:19:37 +0000
(19:19 +0000)
Gbp-Pq: Name 0006-Avoid-bashism-in-data-format-test.patch
tests/test-data-format.sh
patch
|
blob
|
history
diff --git
a/tests/test-data-format.sh
b/tests/test-data-format.sh
index eb9d37456f0c3d806154c8ec1b20f21e340a3f2b..19d03f423131edbafd5f84be3e191b7dad934022 100755
(executable)
--- 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"'