From 82756b56caaa4feec116c11bdc42ffb73d4fbc3c Mon Sep 17 00:00:00 2001 From: tyranron Date: Tue, 12 Dec 2023 16:58:31 +0100 Subject: [PATCH] Omit using `rclone` Alpine package in tests (cronokirby/saferith#51) It's not supported for `s390x` arch at the moment: https://git.alpinelinux.org/aports/tree/community/rclone/APKBUILD?id=c027ad95347bf541ac1a5e8157b7eadd4d34fb88#n8 --- tests/main.bats | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/main.bats b/tests/main.bats index ab5730d..73efc4b 100644 --- a/tests/main.bats +++ b/tests/main.bats @@ -53,7 +53,7 @@ @test "APK_INSTALL_PACKAGES installs packages" { run docker run --rm --pull never --platform $PLATFORM \ - -e APK_INSTALL_PACKAGES=openssl,rclone \ + -e APK_INSTALL_PACKAGES=openssl,make \ $IMAGE apk list [ "$status" -eq 0 ] [ ! "$output" = '' ] @@ -63,7 +63,7 @@ [ "$status" -eq 0 ] [ ! "$output" = '' ] - run sh -c "printf \"$actual\" | grep -E '^rclone-.*\[installed\]$'" + run sh -c "printf \"$actual\" | grep -E '^make-.*\[installed\]$'" [ "$status" -eq 0 ] [ ! "$output" = '' ] }