projects
/
nbdkit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0f1a6aa
)
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>
Sun, 10 Jan 2021 18:17:23 +0000
(18:17 +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 f7ca2efa03a2b9575fe238dc5af2b799998b5a0a..4d55fd70b4f12b3fc1056fa6724c545e908ec56d 100755
(executable)
--- 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"'