FrontPage 

Fuego wiki

Login or create account

function snapshot in split format

NAME [edit section]

= NAME =
snapshot

SYNOPSIS [edit section]

= SYNOPSIS =
 * deploy

DESCRIPTION [edit section]

= DESCRIPTION =
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.
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.
If fuego_test.sh defines a [[function_test_snapshot|test_snapshot]] function, that routine is called
to populate the snapshot file.  Otherwise [[function_ov_rootfs_state|ov_rootfs_state]] is called to
populate the snapshot file.

EXAMPLES [edit section]

= EXAMPLES =

ENVIRONMENT and ARGUMENTS [edit section]

= ENVIRONMENT and ARGUMENTS =
exports $SNAPSHOT_FILENAME

RETURN [edit section]

= RETURN =
returns 0 on success

SOURCE [edit section]

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

SEE ALSO [edit section]

test_snapshot, ov_rootfs_state
= SEE ALSO =
 * [[function test_snapshot|test_snapshot]], [[function_ov_rootfs_state|ov_rootfs_state]]
TBWiki engine 1.8.3 by Tim Bird