From 45a949612273c9188eb22a69d9cecc05db7bd852 Mon Sep 17 00:00:00 2001 From: Trustable User Date: Sat, 11 Jul 2026 11:44:03 +0200 Subject: [PATCH] Fix 7-Zip test downloads --- tests/extract.bats | 2 +- tests/prereq/olaris/prereq.yml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/extract.bats b/tests/extract.bats index a1daa73..01a5ecc 100644 --- a/tests/extract.bats +++ b/tests/extract.bats @@ -26,7 +26,7 @@ setup() { run ops -extract assert_success assert_line --partial "ops -extract file.(zip|tgz|tar[.gz|.bz2|.xz]) target" - curl -sL -o7zip.tar.xz https://www.7-zip.org/a/7z2407-linux-x64.tar.xz + curl -fsSL --retry 3 -o 7zip.tar.xz https://www.7-zip.org/a/7z2301-linux-x64.tar.xz run ops -extract 7zip.tar.xz missing assert_failure diff --git a/tests/prereq/olaris/prereq.yml b/tests/prereq/olaris/prereq.yml index 66ecf2d..8a55864 100644 --- a/tests/prereq/olaris/prereq.yml +++ b/tests/prereq/olaris/prereq.yml @@ -66,7 +66,7 @@ tasks: 7zz: desc: 7zr vars: - VERSION: "2407" + VERSION: "2301" SUFFIX: sh: | case "{{.OS}}-{{.ARCH}}" in @@ -79,7 +79,7 @@ tasks: URL: "https://7-zip.org/a/{{.SUFFIX}}" FILE: "{{base .URL}}" cmds: - - curl -sL "{{.URL}}" -o "{{.FILE}}" + - curl -fsSL --retry 3 "{{.URL}}" -o "{{.FILE}}" - | if test "{{.OS}}" == "windows" then mv 7zr.exe 7zz.exe