1
0
Fork 0
mirror of git://git.code.sf.net/p/cdesktopenv/code synced 2025-02-13 11:42:21 +00:00

tests/attributes.sh: tweak: loop thru array subscripts (re: a2f13c19)

This commit is contained in:
Martijn Dekker 2020-09-05 10:26:03 +02:00
parent 6affd23601
commit 20fcf22973

View file

@ -500,7 +500,7 @@ typeset -A expect=(
[Z]='typeset -x -r -Z 0 -R 0 foo'
# [Z13]='typeset -x -r -Z 13 -R 13 foo' # TODO: outputs 'typeset -x -r -Z 0 -R 0 foo'
)
for flag in a b i i37 l n s u A C E E12 F F12 H L Mtolower Mtoupper R X17 S T Z
for flag in "${!expect[@]}"
do unset foo
actual=$(
redirect 2>&1