diff --git a/tests/common.bats b/tests/common.bats index 9f8fdcc..5541e1d 100644 --- a/tests/common.bats +++ b/tests/common.bats @@ -31,8 +31,10 @@ setup() { @test "repository list is correct" { run docker run --rm alpine:$TAG cat /etc/apk/repositories [ $status -eq 0 ] - [ "${lines[0]}" = "http://dl-cdn.alpinelinux.org/alpine/$BRANCH/main" ] - [ "${lines[1]}" = "http://dl-cdn.alpinelinux.org/alpine/$BRANCH/community" ] + [ "${lines[0]}" = "http://dl-cdn.alpinelinux.org/alpine/$BRANCH/main" ] \ + || [ "${lines[0]}" = "https://dl-cdn.alpinelinux.org/alpine/$BRANCH/main" ] + [ "${lines[1]}" = "http://dl-cdn.alpinelinux.org/alpine/$BRANCH/community" ] \ + || [ "${lines[1]}" = "https://dl-cdn.alpinelinux.org/alpine/$BRANCH/community" ] [ "${lines[2]}" = "" ] }