From: Zygmunt Krynicki Date: Wed, 5 Jun 2024 08:13:14 +0000 (+0200) Subject: tests: enable the snapd socket in autopkgtest X-Git-Tag: archive/raspbian/2.68.3-3+rpi1^2^2^2^2^2~1 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=8f75fc042b4dad6720a98a504d8432d7c6573ec4;p=snapd.git tests: enable the snapd socket in autopkgtest For reasons I don't quite understand, and cannot reproduce when running autopkgtest locally, when the system is tested on the Debian infrastructure snapd ends up installed but not enabled. Enable the socket to at least have a chance to run something. Signed-off-by: Zygmunt Krynicki Gbp-Pq: Name 0022-tests-enable-the-snapd-socket-in-autopkgtest.patch --- diff --git a/tests/lib/prepare-restore.sh b/tests/lib/prepare-restore.sh index 5015ed7a..34fdeaae 100755 --- a/tests/lib/prepare-restore.sh +++ b/tests/lib/prepare-restore.sh @@ -270,6 +270,7 @@ prepare_project() { # we want to run as pristine as possible if [ "$SPREAD_BACKEND" = autopkgtest ]; then create_test_user + systemctl enable --now snapd.socket exit 0 fi