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

* tests/import-utils.scm ("alist->package with simple source"): Use a
'file://' URL.
This commit is contained in:
Ludovic Courtès 2017-10-06 14:15:34 +02:00
parent 0b12324284
commit 8b920d707e
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5
1 changed files with 4 additions and 1 deletions

View File

@ -43,7 +43,10 @@
(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")