Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion tests/extract.bats
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions tests/prereq/olaris/prereq.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ tasks:
7zz:
desc: 7zr
vars:
VERSION: "2407"
VERSION: "2301"
SUFFIX:
sh: |
case "{{.OS}}-{{.ARCH}}" in
Expand All @@ -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
Expand Down
Loading