mirror of
https://github.com/token2/snapd.git
synced 2026-03-13 11:15:47 -07:00
* tests: adding details to tests in core suite - part 1 * Update tests/core/compat/task.yaml Co-authored-by: Zygmunt Bazyli Krynicki <me@zygoon.pl> * Update tests/core/basic18/task.yaml Co-authored-by: Zygmunt Bazyli Krynicki <me@zygoon.pl> * Update tests/core/compat/task.yaml Co-authored-by: Zygmunt Bazyli Krynicki <me@zygoon.pl> * Update tests/core/config-defaults-once/task.yaml Co-authored-by: Zygmunt Bazyli Krynicki <me@zygoon.pl> * Update tests/core/core-dump/task.yaml Co-authored-by: Zygmunt Bazyli Krynicki <me@zygoon.pl> * Update tests/core/create-user-2/task.yaml Co-authored-by: Zygmunt Bazyli Krynicki <me@zygoon.pl> * Update tests/core/create-user-2/task.yaml Co-authored-by: Zygmunt Bazyli Krynicki <me@zygoon.pl> * Update tests/core/create-user/task.yaml Co-authored-by: Zygmunt Bazyli Krynicki <me@zygoon.pl> * Update tests/core/create-user/task.yaml Co-authored-by: Zygmunt Bazyli Krynicki <me@zygoon.pl> * Update tests/core/fan/task.yaml Co-authored-by: Zygmunt Bazyli Krynicki <me@zygoon.pl> * Update tests/core/grub-no-unpacked-assets/task.yaml Co-authored-by: Zygmunt Bazyli Krynicki <me@zygoon.pl> * Update tests/core/core-to-snapd-failover16/task.yaml Co-authored-by: Zygmunt Bazyli Krynicki <me@zygoon.pl> --------- Co-authored-by: Zygmunt Bazyli Krynicki <me@zygoon.pl>
17 lines
522 B
YAML
17 lines
522 B
YAML
summary: Ensure that core(16) compatibility is there
|
|
|
|
details: |
|
|
Ensure that when snap test-snapd-sh is installed, the core
|
|
snap is pulled in, and check that test-snapd-sh sees the core16
|
|
environment.
|
|
|
|
execute: |
|
|
echo "Install test-snapd-sh (which uses the core snap)"
|
|
snap install test-snapd-sh
|
|
|
|
echo "Ensure that this pulled in core"
|
|
snap list | MATCH "^core +"
|
|
|
|
echo "Check test-snapd-sh see the core16 environment"
|
|
test-snapd-sh.sh -c 'cat /etc/os-release' | MATCH "Ubuntu Core 16"
|