function target cleanup

NAME [edit section]

target_cleanup

SYNOPSIS [edit section]

DESCRIPTION [edit section]

Cleans up the target prior to a test.

This consists of erasing all contents of $BOARD_TESTDIR and /tmp on the target.

Note that this does not just remove the contents of an individual test directory, but everything in the home and tmp areas.

EXAMPLES [edit section]

Here are some sample invocations:

ENVIRONMENT and ARGUMENTS [edit section]

Uses $BOARD_TESTDIR.

RETURN [edit section]

Returns non-zero on error.

SOURCE [edit section]

Located in scripts/functions.sh

SEE ALSO [edit section]