From 2c36a79aaaec3582d3b1961c9245b1a8a5a144dc Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Thu, 6 Aug 2026 12:12:00 +0200 Subject: [PATCH] tests: allow cdn.alpinelinux.org repos --- tests/common.bats | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tests/common.bats b/tests/common.bats index 6a72b7b..354f8d0 100644 --- a/tests/common.bats +++ b/tests/common.bats @@ -32,9 +32,11 @@ setup() { run docker run --rm alpine:$TAG cat /etc/apk/repositories [ $status -eq 0 ] [ "${lines[0]}" = "http://dl-cdn.alpinelinux.org/alpine/$BRANCH/main" ] \ - || [ "${lines[0]}" = "https://dl-cdn.alpinelinux.org/alpine/$BRANCH/main" ] + || [ "${lines[0]}" = "https://dl-cdn.alpinelinux.org/alpine/$BRANCH/main" ] \ + || [ "${lines[0]}" = "https://cdn.alpinelinux.org/$BRANCH/main" ] [ "${lines[1]}" = "http://dl-cdn.alpinelinux.org/alpine/$BRANCH/community" ] \ - || [ "${lines[1]}" = "https://dl-cdn.alpinelinux.org/alpine/$BRANCH/community" ] + || [ "${lines[1]}" = "https://dl-cdn.alpinelinux.org/alpine/$BRANCH/community" ] \ + || [ "${lines[1]}" = "https://cdn.alpinelinux.org/$BRANCH/community" ] [ "${lines[2]}" = "" ] }