function pre test

NAME [edit section]

pre_test

SYNOPSIS [edit section]

DESCRIPTION [edit section]

Perform setup and other operations needed on the host and target, before executing a test. This corresponds to the 'pre_test' phase. Note that the phase 'pre_check' is nested inside 'pre_test'.

It does the following, in sequence:

EXAMPLES [edit section]

Here are some sample invocations:

ENVIRONMENT and ARGUMENTS [edit section]

$1 is the base name of the test (e.g. Functional.hellO_world). This is usually passed in as $TESTDIR by the caller.

Variables also used by pre_test are:

RETURN [edit section]

Returns non-zero on error.

SOURCE [edit section]

Located in scripts/functions.sh

SEE ALSO [edit section]