Skip to content

Commit

Permalink
fixup! tests: replace use of test-snapd-curl with simpleget where pos…
Browse files Browse the repository at this point in the history
…sible

Signed-off-by: Maciej Borzecki <maciej.borzecki@canonical.com>
  • Loading branch information
bboozzoo committed Dec 19, 2024
1 parent f47a997 commit 7f15512
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/main/default-tracks/task.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ environment:

execute: |
# first, precondition check that the snap has a default track
"$TESTSTOOLS/simpleget" -H "Snap-Device-Series: 16" "https://api.snapcraft.io/v2/snaps/info/$A_SNAP" > info
"$TESTSTOOLS/simpleget" -H "Snap-Device-Series: 16" "https://api.snapcraft.io/v2/snaps/info/$A_SNAP" -o info
test "$( gojq -r '."default-track"' < info )" == "$A_TRACK"
# TODO: check the output of 'snap info' for the default-track-having snap
Expand Down

0 comments on commit 7f15512

Please sign in to comment.