mirror of
https://github.com/token2/snapd.git
synced 2026-03-13 11:15:47 -07:00
525 B
525 B
The snapd state
Snapd state is saved during the project prepare and it is restored when any test is prepared to make sure the initial state is the same for all the tests executed on the snapd test suite.
The snapd state is dropped in this tests/ directory and restored from there.
For classic systems the snapd state is saved in a single file
$SPREAD\_PATH/tests/snapd-state.tar and for all-snaps systems it is saved in a
$SPREAD\_PATH/tests/snapd-state directory which is done to get better
performance on boards.