From 21ab1d3ce23189e0be9734ae2da6a2b7b17611cb Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Fri, 26 Jun 2020 11:47:11 +0200 Subject: [PATCH] tests: allow https repos --- tests/common.bats | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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]}" = "" ] }