Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tests: measure testbed for leaking mountinfo entries #7168

Closed
wants to merge 4 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 1 addition & 0 deletions spread.yaml
Expand Up @@ -497,6 +497,7 @@ debug-each: |
# use ascii output to prevent travis from messing up the encoding
findmnt --ascii -o+PROPAGATION || true
fi
testbed-tool status

rename:
# Move content into a directory, so that deltas computed by repack benefit
Expand Down
4 changes: 4 additions & 0 deletions tests/core/reboot/task.yaml
Expand Up @@ -33,3 +33,7 @@ execute: |
if [ "$SPREAD_REBOOT" = "0" ]; then
REBOOT
fi

# Invoke a command to ensure /run/snapd/ns is mounted as before.
# REBOOT above clobbers that.
test-snapd-tools.success
2 changes: 2 additions & 0 deletions tests/lib/bin/REBOOT
Expand Up @@ -5,4 +5,6 @@
# shellcheck source=tests/lib/spread-funcs.sh
. "$TESTSLIB/spread-funcs.sh"

testbed-tool log-event "rebooting as requested"

REBOOT "$@"