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