|
|
@@ -24,12 +24,15 @@ execute: | |
|
|
snap interfaces | MATCH "$CONNECTED_PATTERN"
|
|
|
|
|
|
snap disconnect home-consumer:home
|
|
|
+ snap tasks --last=disconnect| MATCH "Disconnect .* from home-consumer:home"
|
|
|
|
|
|
echo "The plug can be connected to a slot on the core snap using abbreviated syntax"
|
|
|
snap connect home-consumer:home :home
|
|
|
|
|
|
snap interfaces | MATCH "$CONNECTED_PATTERN"
|
|
|
|
|
|
+ snap tasks --last=connect| MATCH "Connect home-consumer:home to core:home"
|
|
|
+
|
|
|
# NOTE: Those only work when installed from the store as otherwise we don't
|
|
|
# have snap declaration assertion and cannot check if a given connection
|
|
|
# should be allowed.
|
|
|
@@ -39,6 +42,8 @@ execute: | |
|
|
snap install --edge test-snapd-content-slot
|
|
|
snap install --edge test-snapd-content-plug
|
|
|
|
|
|
+ snap tasks --last=install| MATCH "Mount snap \"test-snapd-content-plug\""
|
|
|
+
|
|
|
snap interfaces | MATCH "$CONTENT_CONNECTED_PATTERN"
|
|
|
|
|
|
# Remove the content snaps so that we can reinstall them the other way around
|
|
|
|
0 comments on commit
08f60b8