tests: move main/ubuntu-core-* tests to core/ suite

This does not enable any new systems for these tests, it just moves them over.

We will work on enabling these tests to run on other systems in a follow-up.

Signed-off-by: Ian Johnson <ian.johnson@canonical.com>
This commit is contained in:
Ian Johnson
2020-02-10 13:57:36 -06:00
parent 2860dd06e8
commit 6fcd43dba5
29 changed files with 18 additions and 5 deletions
+16
View File
@@ -0,0 +1,16 @@
summary: Ensure that the apt output on UC16 is correct
# TODO:UC20: test that apt-get doesn't exist on UC18 / UC20 in this tests and
# re-enable
systems: [ubuntu-core-16-*]
execute: |
expected="Ubuntu Core does not use apt-get, see 'snap --help'!"
if apt-get update > output.txt; then
echo "apt should exit 1 but did not"
exit 1
fi
if [ "$(cat output.txt)" != "$expected" ]; then
echo "Unexpected apt output: $(cat output.txt)"
exit 1
fi