Permalink
Browse files

More spread checks.

  • Loading branch information...
1 parent 550a045 commit 08f60b88c28416dc627308b619b6ffdbbb2cd593 @stolowski stolowski committed Apr 21, 2017
Showing with 5 additions and 0 deletions.
  1. +5 −0 tests/main/snap-connect/task.yaml
@@ -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

Please sign in to comment.