Skip to content

Commit

Permalink
tests/component: check message on installation
Browse files Browse the repository at this point in the history
  • Loading branch information
alfonsosanchezbeato committed Jun 18, 2024
1 parent dad910f commit 27afed4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/main/component/task.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,10 @@ execute: |
install_comp x1
install_comp x2
# Check message on installation
snap install --dangerous snap-with-comps+comp1_1.0.comp |
MATCH 'component comp1 1\.0 for snap-with-comps 1\.0 installed'
# TODO: add checks for components removals when implemented by snapd
# For the moment, remove the snap and then manually the components
snap remove snap-with-comps
Expand Down

0 comments on commit 27afed4

Please sign in to comment.