looks like the shell does not allow dash as part of name.
In fact there is a special shell notation to provide a default value if the variable is unset. It uses the dash as part of notation:
Code:
miguel@babylon5:~> unset XXX
miguel@babylon5:~> echo "The default value if XXX is not set is ${XXX:-whatever}"
The default value if XXX is not set is whatever
miguel@babylon5:~>
may be you can use RTT_TESTCONTEXT instead ?