Files
snapd/tests/main/cmdline/task.yaml
Sergio Cazzolato d58cd19ed4 tests: add details to spread tests - part-3 (#13395)
* tests: add details to spread tests - part-3

This is needed to improve the spread tests documentation.

* Update tests/main/catalog-update/task.yaml

Co-authored-by: Miguel Pires <miguelpires94@gmail.com>

* Update tests/main/cgroup-devices-v1/task.yaml

Co-authored-by: Miguel Pires <miguelpires94@gmail.com>

* Update tests/main/cgroup-devices-v2/task.yaml

Co-authored-by: Miguel Pires <miguelpires94@gmail.com>

* Update tests/main/change-errors/task.yaml

Co-authored-by: Miguel Pires <miguelpires94@gmail.com>

* Update tests/main/classic-confinement-not-supported/task.yaml

Co-authored-by: Miguel Pires <miguelpires94@gmail.com>

* Update tests/main/classic-custom-device-reg/task.yaml

Co-authored-by: Miguel Pires <miguelpires94@gmail.com>

* Update tests/main/interfaces-accounts-service/task.yaml

Co-authored-by: Miguel Pires <miguelpires94@gmail.com>

* Update tests/main/interfaces-browser-support/task.yaml

Co-authored-by: Miguel Pires <miguelpires94@gmail.com>

---------

Co-authored-by: Miguel Pires <miguelpires94@gmail.com>
2023-12-01 20:32:31 +02:00

14 lines
478 B
YAML

summary: Check that cmdline for channel shortcuts work
details: |
Verify that when using the commandline, a snap cannot be installed
with two channels and an error is displayed
execute: |
echo "Conflicting channel commandline errors correctly"
if snap install --beta --edge test-snapd-tools 2>err.msg; then
echo "Expected failure when --beta --edge is given at the same time"
exit 1
fi
MATCH "Please specify a single channel" < err.msg