UNSET
System Testing Supervisor Script Language.
Syntax
UNSET [ <hostname>: ] <env_var>
where:
-
<hostname> is the logical name of the target machine (See HOST.)
<env_var> is the name of the environment variable
Purpose
The UNSET instruction deletes an environment variable from the System Testing Supervisor machine or from the target machine.
Description
Hostname is the logical name on a target machine as defined in the HOST instruction. If you do not specify a hostname, the UNSET instruction deletes a local variable.
When you execute the UNSET instruction, the environment variable deletes until the end of the execution, or until you reset it.
Example
HOST target IS workstation(10098)
...
SET LOCAL_TMP_DIR=/tmp
SET target:REMOTE_TMP_DIR=$TMPDIR
...
UNSET LOCAL_TMP_DIR
UNSET target:REMOTE_TMP_DIR
...
Related Topics