test_git.sh: add quotes to to prevent globbing and word splitting
Fixes SC2086. Part of #891.
This commit is contained in:
parent
6716848f4b
commit
4f0dc5679b
|
|
@ -820,7 +820,7 @@ function list_tests() {
|
|||
declare -F \
|
||||
| cut -f3 -d' ' \
|
||||
| grep "^git::" \
|
||||
| while read -r 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