tests: allow https repos
This commit is contained in:
1 parent
6331720282
commit
21ab1d3ce2
1 file changed
+4
-2
+4
-2
@@ -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]}" = "" ]
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user