diff options
| author | Michael Vogt <mvo@ubuntu.com> | 2023-07-17 13:20:08 +0200 |
|---|---|---|
| committer | Michael Vogt <michael.vogt@gmail.com> | 2023-07-17 17:46:43 +0200 |
| commit | 9b6039c21e15fbda7739e65eb0d5dfab10d6dc1c (patch) | |
| tree | 2377f8d429846fa8041bb3d04839c4cc4621588c | |
| parent | 0622b612ba264b489fb86b277da8d42a665d9c06 (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.yaml | 9 |
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" |
