Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Add testing infrastructure #8
Conversation
zyga
added some commits
Dec 6, 2017
zyga
changed the title from
Add rudimentary testing infrastructure
to
Add testing infrastructure
Dec 7, 2017
mvo5
approved these changes
Dec 7, 2017
Looks good, I want to trim writable-path but we can do that step-by-step.
| set -eux | ||
| apt update | ||
| +apt dist-upgrade -y |
| @@ -0,0 +1,36 @@ | ||
| +#!/bin/sh -x | ||
| + |
mvo5
Dec 7, 2017
Collaborator
Maybe a comment here that this is really only required while developing? I'm a bit scared that this may be forgotten and leak at some point into the store :/
| +# | ||
| +# See writable-paths(5) for full details. | ||
| +# -------------------------------------------------------------------- | ||
| +/etc/apparmor.d/cache auto persistent none none |
zyga
Dec 7, 2017
Contributor
No, but I gave up with trimming the list. I suspect we get better result by speeding up make update-image and then fix this list.
mvo5
merged commit be98dbd
into
snapcore:master
Dec 7, 2017
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
zyga commentedDec 6, 2017
•
Edited 4 times
-
zyga
Dec 7, 2017
-
zyga
Dec 7, 2017
-
zyga
Dec 6, 2017
-
zyga
Dec 6, 2017
This patch adds a very crude way for boot-testing the new
base-18 base snap and to run spread tests against it.
There are a lot of shortcomings but it boots to the familiar-looking
"Welcome to Ubuntu Core 18" message and to a root shell.
The typical workflow involves updating the base snap (e.g. via snapcraft)
and then running
make -C tests/libwhich will boot the image and give usa root shell to explore the system.
EDIT: This is now updated to support basic spread tests.
Signed-off-by: Zygmunt Krynicki zygmunt.krynicki@canonical.com