File: snapd-state.md

package info (click to toggle)
snapd 2.71-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 79,536 kB
  • sloc: ansic: 16,114; sh: 16,105; python: 9,941; makefile: 1,890; exp: 190; awk: 40; xml: 22
file content (11 lines) | stat: -rw-r--r-- 525 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
# 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.