From 8f33f0380b0b9744d634d0590d54869bdbf7fe8b Mon Sep 17 00:00:00 2001 From: Zygmunt Krynicki Date: Wed, 5 Jun 2024 10:13:14 +0200 Subject: [PATCH] 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 --- tests/lib/prepare-restore.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/lib/prepare-restore.sh b/tests/lib/prepare-restore.sh index 850037ac..81c8f4f2 100755 --- a/tests/lib/prepare-restore.sh +++ b/tests/lib/prepare-restore.sh @@ -266,6 +266,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 -- 2.30.2