Skip to content
Snippets Groups Projects
Unverified Commit 8b920d70 authored by Ludovic Courtès's avatar Ludovic Courtès
Browse files

import: Use a 'file://' URL in 'alist->package' test.

* tests/import-utils.scm ("alist->package with simple source"): Use a
'file://' URL.
parent 0b123242
No related branches found
No related tags found
No related merge requests found
...@@ -43,7 +43,10 @@ (define-module (test-import-utils) ...@@ -43,7 +43,10 @@ (define-module (test-import-utils)
(test-assert "alist->package with simple source" (test-assert "alist->package with simple source"
(let* ((meta '(("name" . "hello") (let* ((meta '(("name" . "hello")
("version" . "2.10") ("version" . "2.10")
("source" . "mirror://gnu/hello/hello-2.10.tar.gz") ("source" .
;; Use a 'file://' URI so that we don't cause a download.
,(string-append "file://"
(search-path %load-path "guix.scm")))
("build-system" . "gnu") ("build-system" . "gnu")
("home-page" . "https://gnu.org") ("home-page" . "https://gnu.org")
("synopsis" . "Say hi") ("synopsis" . "Say hi")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment