Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tests/lib/reset: try to identify unexpected snap units still present …
…after purge The reset code runs purge, but give how purge works, it may happen that there are unexpected snap units. Specifically, lxd tends to start snap.lxd.workaround.service unit directly through systemd-run, which is not known to snapd and thus will not be stopped during purge. This should fix the following issue in tests/main/postrm-purge: ``` + systemctl --plain --no-legend --full + grep -E 'snap\..*\.(service|timer|socket)' snap.lxd.workaround.service loaded active exited /bin/true + echo 'found unexpected leftovers' found unexpected leftovers + exit 1 ``` Signed-off-by: Maciej Borzecki <[email protected]>
- Loading branch information