Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
287 additions
and
95 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
summary: Check basic core20 system functionality | ||
|
||
execute: | | ||
echo "Check that the system snaps are there" | ||
snap list | MATCH core20 | ||
snap list | MATCH snapd | ||
if snap list | grep '^core +'; then | ||
echo "The old core snap is installed but should not" | ||
exit 1 | ||
fi | ||
echo "Ensure that the system is fully seeded" | ||
snap changes | MATCH "Done.*Initialize system state" | ||
echo "Check that a simple shell snap" | ||
# TODO:UC20: add test-snapd-sh-core20 | ||
snap install test-snapd-sh-core18 | ||
test-snapd-sh-core18.sh -c 'echo hello' | MATCH hello | ||
if python3 -m json.tool < /var/lib/snapd/system-key | grep '"build-id": ""'; then | ||
echo "The build-id of snapd must not be empty." | ||
exit 1 | ||
fi | ||
echo "Ensure passwd/group is available for snaps" | ||
test-snapd-sh-core18.sh -c 'cat /var/lib/extrausers/passwd' | MATCH test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
type: model | ||
authority-id: vxj7EkYOlg15uAHRswTXIUpzWqO2sTBi | ||
series: 16 | ||
brand-id: vxj7EkYOlg15uAHRswTXIUpzWqO2sTBi | ||
model: ubuntu-core-20-mvo-amd64 | ||
architecture: amd64 | ||
base: core20 | ||
grade: dangerous | ||
snaps: | ||
- | ||
default-channel: 20/edge | ||
id: UqFziVZDHLSyO3TqSWgNBoAdHbLI4dAH | ||
name: pc | ||
track: 20 | ||
type: gadget | ||
- | ||
default-channel: latest/edge | ||
id: DLqre5XGLbDqg9jPtiAhRRjDuPVa5X1q | ||
name: core20 | ||
track: latest | ||
type: base | ||
- | ||
default-channel: 20/edge | ||
id: pYVQrBcKmBa0mZ4CCN7ExT6jH8rY1hza | ||
name: pc-kernel | ||
track: 20 | ||
type: kernel | ||
- | ||
default-channel: latest/edge | ||
id: PMrrV4ml8uWuEUDBT8dSGnKUYbevVhc4 | ||
name: snapd | ||
track: latest | ||
type: snapd | ||
timestamp: 2019-08-26T00:00:00.0Z | ||
sign-key-sha3-384: 2XxnFfNz1CCA6OZ5v03QjbFaK_A6-FjnNzNYJSMhSm_RC77iriSBh9X_olPNmupv | ||
|
||
AcLBcwQAAQoAHRYhBNPJP7iUC6HvARf0BQG87hgg441ZBQJdwpNWAAoJEAG87hgg441ZjKIP/ie8 | ||
TaRMRg72onq8q3xyPqfzBALIkvZV0rN3QNc+CvASMrA5a1K/Tf2LHIjDLNq4SK49yMlehIsB8uVy | ||
oczPX2eO2cIaxc/LGDVlTOmVY4q2+J0z18ZMEs7UysGq/B+p6r0Bdv409R92fciaYCt0dfCCUyBG | ||
bO8L8/FDMBNsKY944UxVD3IU5F96jwSU7Zv6M5fzIZLrlElM0MOHLmtG6Qwxc7WfOAXIb3IEGiGz | ||
Y4hgEyPA8F+Z4HEUYSbQaZ2L0Mh4G5ssIP3W6BGN0uKe+VtrfUZerEoKQCqZk34+INNmPCzVxHmp | ||
VDKsGS3gDyTJUgkzOa84FH2PYq6t79mBNnqV8WWZIP4tJtf9zyUlptagf1mIbt/2EVNpxxHYhACb | ||
jxNWoDPgkKsSiAPEpLTztgXlzxhWtirAIgEk+8v/lxSsbPNlZM5yYA57CKh5s/TfK3Mc4oer9/iD | ||
NTAhmxDpl6MSgKojoJFGhADrmTFs+LZqMhclIrcq9Qm7bNEIpGHFRDxQd6CQc1B/zgEUzkRfAgpl | ||
440+Z9Vwcd26SdlMhk5C4Oxp4jE+4cAROjxoT7VIxrnqbcYk9oBrfGL8WW5hsYs/qBqVulbesThk | ||
/pWXzxpIubZT7fdFLHx2dwEIfwLoPcGm3gAbzdVNTFYNCWGHxd4kevGxIPnT4EYqWiksOHoh |
Oops, something went wrong.