function_snapshot 

Fuego wiki

Login or create account

function snapshot

NAME [edit section]

snapshot

SYNOPSIS [edit section]

  • deploy

DESCRIPTION [edit section]

The snapshot function performs the 'snapshot' phase for a particular test.

It calls creates the snapshot file (which is named machine-snapshot.txt in the run directory for this a run), and by default puts the host environment and board firmware into it.

If fuego_test.sh defines a test_snapshot function, that routine is called to populate the snapshot file. Otherwise ov_rootfs_state is called to populate the snapshot file.

EXAMPLES [edit section]

ENVIRONMENT and ARGUMENTS [edit section]

exports $SNAPSHOT_FILENAME

RETURN [edit section]

returns 0 on success

SOURCE [edit section]

Located in scripts/functions.sh

SEE ALSO [edit section]

TBWiki engine 1.8.2 by Tim Bird