From 7f15512dc5fa2bea1ceaecf7712547b718cd109c Mon Sep 17 00:00:00 2001 From: Maciej Borzecki Date: Thu, 19 Dec 2024 10:31:17 +0100 Subject: [PATCH] fixup! tests: replace use of test-snapd-curl with simpleget where possible Signed-off-by: Maciej Borzecki --- tests/main/default-tracks/task.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/main/default-tracks/task.yaml b/tests/main/default-tracks/task.yaml index b08b87b6ad1..f254d32270d 100644 --- a/tests/main/default-tracks/task.yaml +++ b/tests/main/default-tracks/task.yaml @@ -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