function report live

NAME [edit section]

report_live

SYNOPSIS [edit section]

DESCRIPTION [edit section]

This function performs the indicated command on the target device, and records it's output to a "live" log on the host. This is commonly called by a test's test_run function, to actually execute the test on the target.

See Log files for a description of the test log on the target.

Note that the exit code from the command is returned as return code from the 'report_live' operation.

To record the output of a command run on the Fuego host, use log_this.

EXAMPLES [edit section]

Here are some sample invocations:

ENVIRONMENT and ARGUMENTS [edit section]

The arguments to this function are:

RETURN [edit section]

Returns non-zero on error.

SOURCE [edit section]

Located in scripts/functions.sh

SEE ALSO [edit section]