function get

NAME [edit section]

get

SYNOPSIS [edit section]

DESCRIPTION [edit section]

The 'get' function is used to transfer directories and files from the target to the host.

It adds a statement to the devlog, and then calls ov_transport_get.

I can find no examples of existing test scripts using this function to retrieve files from the target. The internal function get_testlog calls this to retrieve a log from the target. It is also called by post_test to retrieve the system logs.

It is unclear that this function supports wildcarding of the source file argument, as ov_transport_get only specifies the LOGIN and DEVICE for the first positional parameter (the source file path)

EXAMPLES [edit section]

ENVIRONMENT and ARGUMENTS [edit section]

The arguments are passed unchanged to ov_transport_get.

RETURN [edit section]

Returns non-zero on error

SOURCE [edit section]

Located in scripts/functions.sh

SEE ALSO [edit section]