summaryrefslogtreecommitdiff
diff options
authorMichael Vogt <mvo@ubuntu.com>2023-07-17 13:20:08 +0200
committerMichael Vogt <michael.vogt@gmail.com>2023-07-17 17:46:43 +0200
commit9b6039c21e15fbda7739e65eb0d5dfab10d6dc1c (patch)
tree2377f8d429846fa8041bb3d04839c4cc4621588c
parent0622b612ba264b489fb86b277da8d42a665d9c06 (diff)
tests: make `strace-static` channel point to beta
The current strace-static edge channel is unhappy so let's switch to `--beta` until this is fixed.
-rw-r--r--tests/main/snap-run/task.yaml9
1 files changed, 6 insertions, 3 deletions
diff --git a/tests/main/snap-run/task.yaml b/tests/main/snap-run/task.yaml
index 2c9e35953b..4882caf5b3 100644
--- a/tests/main/snap-run/task.yaml
+++ b/tests/main/snap-run/task.yaml
@@ -7,6 +7,9 @@ systems:
# TODO: segfault on core22
- -ubuntu-core-22-*
+environment:
+ STRACE_STATIC_CHANNEL: beta
+
prepare: |
"$TESTSTOOLS"/snaps-state install-local basic-run
"$TESTSTOOLS"/snaps-state install-local test-snapd-sh
@@ -31,15 +34,15 @@ execute: |
# the strace on 14.04 is too old
if os.query is-trusty; then
- snap install strace-static --edge
+ snap install strace-static --channel="${STRACE_STATIC_CHANNEL}"
fi
# the strace on opensuse is too old
if os.query is-opensuse && ! os.query is-opensuse tumbleweed; then
- snap install strace-static --edge
+ snap install strace-static --channel="${STRACE_STATIC_CHANNEL}"
fi
# install the snap if no system strace is found
if ! command -v strace; then
- snap install strace-static --edge
+ snap install strace-static --channel="${STRACE_STATIC_CHANNEL}"
fi
echo "Test snap --strace invalid works"