test_git.sh: add '-r' to 'read' to avoid mangling backslashes
Fixes SC2162. Part of #891.
This commit is contained in:
parent
ae368ba2f1
commit
6716848f4b
|
|
@ -820,7 +820,7 @@ function list_tests() {
|
|||
declare -F \
|
||||
| cut -f3 -d' ' \
|
||||
| grep "^git::" \
|
||||
| while read X; do declare -F $X; done \
|
||||
| while read -r X; do declare -F $X; done \
|
||||
| sort -n -k2 \
|
||||
| cut -f1 -d' ' \
|
||||
| sed 's/^git:://'
|
||||
|
|
|
|||
Loading…
Reference in New Issue