EXIT

System Testing Supervisor Script Language.

Purpose

The EXIT instruction stops execution of the supervision script.

Syntax

EXIT [ "<message>" ]

<message> is a an optional character string delimited by double-quotes (").

Description

Stopping the supervisor causes all processes started by agents to stop as well.

The optional <message> is printed as an information message.

Note   If you need to include a double-quote in the message, use \".

Example

HOST remote IS 192.6.2.1

...

IF ( i = 3 ) THEN

 EXECUTE remote: ls /tmp -l

ELSE

 EXIT "Exit on incorrect value of \"i\""

END IF

Related Topics

ERROR