1 Reply Latest reply: May 29, 2012 7:38 AM by cvachovecj RSS

Feature: Config Change Template - Need an "Expect" feature to wait for output.

smartd

The problem with CCT is there is no way to see if the script ran without error (errors in the CLI commands, not in connection).

We need to be able to wait for command prompt, and if we don't get what we expect or timeout, set an errorlevel that the script had an error.

 

1. Need an "Expect" command that waits for the prompt or specified text and either sets errorlevel and exits on error, or continues.

2. Need an "Errorlevel" variable that can be set on error and is tested by the Transfer Status screen to show user script error

3. A "Quit" command to allow abandoning execution of the script and quitting with an errorlevel != 0