From a8e1a7b236148c7bfd7a3a9dbef2c748a1e2057d Mon Sep 17 00:00:00 2001 From: Boris Rybalkin Date: Tue, 7 Jul 2026 13:34:33 +0100 Subject: [PATCH] test: install the stable snapd for e2e (now hack-free, real verification) Fetch the current stable snapd from apps.syncloud.org (version from the stable channel file) instead of the pinned syncloud-5/snapd-640 github release. The stable snapd now has signature verification restored, so the e2e 'snap install testapp1' exercises real assertion verification against the store. gzip -t guards against a bad download. --- test/test.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test/test.sh b/test/test.sh index 4d99bbf..f480fa6 100755 --- a/test/test.sh +++ b/test/test.sh @@ -15,7 +15,9 @@ mkdir -p $LOG_DIR cd $DIR ./wait-for-device.sh device -wget --progress=dot:giga https://github.com/syncloud/snapd/releases/download/syncloud-5/snapd-640-${SNAP_ARCH}.tar.gz -O snapd2.tar.gz +SNAPD_VERSION=$(wget -qO- http://apps.syncloud.org/releases/stable/snapd2.version) +wget --progress=dot:giga http://apps.syncloud.org/apps/snapd-${SNAPD_VERSION}-${SNAP_ARCH}.tar.gz -O snapd2.tar.gz +gzip -t snapd2.tar.gz $SCP snapd2.tar.gz root@device:/ $SCP ${DIR}/install-snapd-v2.sh root@device:/ $SCP ${DIR}/testapp2/testapp2_1_$SNAP_ARCH.snap root@device:/testapp2_1.snap