Skip to content

Commit

Permalink
Fix CI: changing url to unreachable website as fa.ke is now an actual…
Browse files Browse the repository at this point in the history
… website
  • Loading branch information
kit-ty-kate committed Jan 17, 2024
1 parent 6ee5e64 commit f0ce9cc
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions tests/reftests/swhid.unix.test
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ Clearing cache of downloaded files
### <pkg:snappy-ko.2>
opam-version: "2.0"
url {
src: "https://fa.ke/url.tar.gz"
src: "https://fake.exe/url.tar.gz"
checksum: "md5=039a77d9ffb9b22ab845df30436390c1"
}
### opam option download-command=curl
Expand All @@ -39,7 +39,7 @@ The following actions will be performed:
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
[ERROR] Failed to get sources of snappy-ko.2: Download command failed

OpamSolution.Fetch_fail("https://fa.ke/url.tar.gz (Download command failed: \"curl --write-out %{http_code}\\n --retry 3 --retry-delay 2 --user-agent opam/current -L -o ${BASEDIR}/OPAM/fallback/.opam-switch/sources/snappy-ko.2/url.tar.gz.part -- https://fa.ke/url.tar.gz\" exited with code 6)")
OpamSolution.Fetch_fail("https://fake.exe/url.tar.gz (Download command failed: \"curl --write-out %{http_code}\\n --retry 3 --retry-delay 2 --user-agent opam/current -L -o ${BASEDIR}/OPAM/fallback/.opam-switch/sources/snappy-ko.2/url.tar.gz.part -- https://fake.exe/url.tar.gz\" exited with code 6)")


<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Expand All @@ -53,7 +53,7 @@ Clearing cache of downloaded files
### <pkg:snappy-swhid-dir.2>
opam-version: "2.0"
url {
src: "https://fa.ke/url.tar.gz"
src: "https://fake.exe/url.tar.gz"
checksum: "md5=039a77d9ffb9b22ab845df30436390c1"
mirrors: "https://swhid.opam.ocaml.org/swh:1:dir:9f2be900491e1dabfc027848204ae01aa88fc71d"
}
Expand All @@ -68,7 +68,7 @@ The following actions will be performed:
Processing 1/3: [snappy-swhid-dir.2: http]
[ERROR] Failed to get sources of snappy-swhid-dir.2: Download command failed

OpamSolution.Fetch_fail("https://fa.ke/url.tar.gz (Download command failed: \"curl --write-out %{http_code}\\n --retry 3 --retry-delay 2 --user-agent opam/current -L -o ${BASEDIR}/OPAM/fallback/.opam-switch/sources/snappy-swhid-dir.2/url.tar.gz.part -- https://fa.ke/url.tar.gz\" exited with code 6)")
OpamSolution.Fetch_fail("https://fake.exe/url.tar.gz (Download command failed: \"curl --write-out %{http_code}\\n --retry 3 --retry-delay 2 --user-agent opam/current -L -o ${BASEDIR}/OPAM/fallback/.opam-switch/sources/snappy-swhid-dir.2/url.tar.gz.part -- https://fake.exe/url.tar.gz\" exited with code 6)")


<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Expand All @@ -86,7 +86,7 @@ The following actions will be performed:
- install snappy-swhid-dir 2

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Source https://fa.ke/url.tar.gz is not available. Do you want to try to retrieve it from Software Heritage cache (https://www.softwareheritage.org)? It may take few minutes. [y/n] y
Source https://fake.exe/url.tar.gz is not available. Do you want to try to retrieve it from Software Heritage cache (https://www.softwareheritage.org)? It may take few minutes. [y/n] y
-> retrieved snappy-swhid-dir.2 (SWH fallback)
-> installed snappy-swhid-dir.2
Done.
Expand All @@ -108,7 +108,7 @@ The following actions will be performed:
- install snappy-swhid-dir 2

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Source https://fa.ke/url.tar.gz is not available. Do you want to try to retrieve it from Software Heritage cache (https://www.softwareheritage.org)? It may take few minutes. [y/n] y
Source https://fake.exe/url.tar.gz is not available. Do you want to try to retrieve it from Software Heritage cache (https://www.softwareheritage.org)? It may take few minutes. [y/n] y
-> retrieved snappy-swhid-dir.2 (SWH fallback)
-> installed snappy-swhid-dir.2
Done.
Expand All @@ -119,7 +119,7 @@ Set to 'curl' the field download-command in global configuration
### <pkg:snappy-swhid-ko.2>
opam-version: "2.0"
url {
src: "https://fa.ke/url.tar.gz"
src: "https://fake.exe/url.tar.gz"
checksum: "md5=039a77d9ffb9b22ab845df30436390c1"
mirrors: "https://swhid.opam.ocaml.org/swh:1:dir:0000000000000000000000000000000000000000"
}
Expand All @@ -129,7 +129,7 @@ The following actions will be performed:
- install snappy-swhid-ko 2

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Source https://fa.ke/url.tar.gz is not available. Do you want to try to retrieve it from Software Heritage cache (https://www.softwareheritage.org)? It may take few minutes. [y/n] y
Source https://fake.exe/url.tar.gz is not available. Do you want to try to retrieve it from Software Heritage cache (https://www.softwareheritage.org)? It may take few minutes. [y/n] y
[ERROR] Failed to get sources of snappy-swhid-ko.2: SWH fallback: Unknown swhid

OpamSolution.Fetch_fail("SWH fallback: Unknown swhid")
Expand Down

0 comments on commit f0ce9cc

Please sign in to comment.