FrontPage 

Fuego wiki

Login or create account

function target cleanup in 'raw' format

= NAME =
target_cleanup

= SYNOPSIS =
 * target_cleanup

= DESCRIPTION =
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 =
Here are some sample invocations:
{{{#!YellowBox
 target_cleanup
}}}

= ENVIRONMENT and ARGUMENTS =
Uses $BOARD_TESTDIR.

= RETURN =
Returns non-zero on error.

= SOURCE =
Located in ''scripts/functions.sh''

= SEE ALSO =
 * [[function_pre_test|pre_test]]






TBWiki engine 1.8.3 by Tim Bird