summaryrefslogtreecommitdiff
diff options
-rw-r--r--tests/main/install-remove-multi/task.yaml14
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/main/install-remove-multi/task.yaml b/tests/main/install-remove-multi/task.yaml
new file mode 100644
index 0000000000..bd9708fcbf
--- /dev/null
+++ b/tests/main/install-remove-multi/task.yaml
@@ -0,0 +1,14 @@
+summary: Check that install/remove of multiple snaps works
+
+execute: |
+ echo "Install multiple snaps from the store"
+ snap install test-snapd-tools hello
+ snap list | grep test-snapd-tools
+ snap list | grep hello
+
+ echo "Remove of multiple snaps works"
+ snap remove test-snapd-tools hello
+ snap list | grep -v test-snapd-tools
+ snap list | grep -v hello
+
+ \ No newline at end of file