UC4 calls a Linux/UNIX script on a target system. UC4 waits for the UNIX/Linux script to complete processing and then stores and processes the text returned. Processing the returned text will determine next steps.
VARIABLE = Run the Linux/UNIX script /usr/local/bin/pass_fail.sh on the target system and capture the text produced by the script.
The script output text will be either “PASS” or “FAIL”
Then I would like UC4 to evaluate the returned data
if value of VARIABLE equals “FAIL”
then
proceed to error processing
else
proceed to the next step