Menu

#2178 testsuite: bash error reported in provider bootstrap scripts

Usability
open
Test (37)
5
2013-02-08
2011-04-05
No

An erroneous array declaration causes bash errors in provider test scripts.

./test-cmpi-base.sh: line 13: declare: `CLASSNAMES[]': not a valid identifier

It is complaining about this line:

declare -a CLASSNAMES[];

The brackets are not proper syntax, and were ignored by earlier versions of bash.

Discussion


Log in to post a comment.