Files
snapd/tests/snapd-state.md
Zygmunt Krynicki ba8f371c8e tests: reformat and fix markdown in snapd-state.md
Signed-off-by: Zygmunt Krynicki <me@zygoon.pl>
2019-07-25 10:44:56 +02:00

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.