function unpack

NAME [edit section]

unpack - unpack the test program source

SYNOPSIS [edit section]

unpack [nostrip]

DESCRIPTION [edit section]

The unpack function is used during the build phase, to extract the source into the build directory. Before the function is called, Fuego changes to the build directory. Hence, unpack operates in the current directory.

Source may be specified either with a tarball name or using 'gitrepo' and 'gitref' in the fuego_test.sh file.

The following extensions are supported:

This is normally called by the function pre_build, but can be used directly by the base test script. (Although there are no examples of this that I'm aware of.)

EXAMPLES [edit section]

ENVIRONMENT and ARGUMENTS [edit section]

Environment variables used:

Arguments:

RETURN [edit section]

Returns result of the 'tar' command, or the 'git checkout' command for the source.

SOURCE [edit section]

Located in scripts/functions.sh

SEE ALSO [edit section]