Environment variables

System Testing Supervisor Script Language.

System Testing supervisor scripts can read and write environment variables on the System Testing Supervisor machine and on target machines.

Precede an environment variable name with a dollar sign ($) to substitute the environment variable by its value within a statement.

To force a variable to refer to the environment of the System Testing Supervisor machine, precede the environment variable with the 'at' sign (@) instead of the dollar sign.

Example

HOST machine IS $HOSTNAME

-- show the contents of the target home directory

DO machine: ls $HOME

-- show the contents of the local home directory

SHELL ls $HOME

Related Topics

ExpressionsSETUNSET