tests: add an additional folder check

This commit is contained in:
Philip Meulengracht
2022-09-07 09:23:51 +02:00
parent a00228d6d8
commit be4190f6d9

View File

@@ -136,6 +136,7 @@ execute: |
echo "Check that the directories have the right permissions"
tests.nested exec "stat /var/lib/snapd/save/snap/ -c %a" | MATCH 755
tests.nested exec "stat /var/lib/snapd/save/snap/pc -c %a" | MATCH 755
tests.nested exec "stat /var/lib/snapd/save/snap/pc/certs -c %a" | MATCH 755
echo "Check that the files from install-device were installed"
tests.nested exec "cat /var/lib/snapd/save/snap/pc/my-data.conf" | MATCH '# empty configuration file'