Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Ensure that snap-confine is dead after each test terminates #144
Conversation
jdstrand
reviewed
Sep 14, 2016
| @@ -34,6 +34,9 @@ suites: | ||
| spread-tests/main/: | ||
| summary: Full-system tests for snap-confine | ||
| restore-each: | | ||
| + # Ensure that we don't have stranded processes around | ||
| + test "$(pgrep ubuntu-core-launcher | wc -l)" -eq 0 | ||
| + test "$(pgrep snap-confine | wc -l)" -eq 0 |
jdstrand
Sep 14, 2016
Contributor
You can use 'pgrep -c' instead of piping to wc -l.
+1 with that change.
zyga
merged commit 76b27a4
into
master
Sep 14, 2016
1 check was pending
continuous-integration/travis-ci/pr
The Travis CI build is in progress
Details
zyga
deleted the
extra-sanity-tests
branch
Sep 14, 2016
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
zyga commentedSep 14, 2016
This is just a sanity check so that no copy of snap-confine is around
after test terminates. If something ever breaks where the child process
may end up still hanging we will know.
Signed-off-by: Zygmunt Krynicki zygmunt.krynicki@canonical.com