mirror of
https://github.com/token2/snapd.git
synced 2026-03-13 11:15:47 -07:00
* 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>
14 lines
478 B
YAML
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
|