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

View file

@ -43,7 +43,10 @@ (define-module (test-import-utils)
(test-assert "alist->package with simple source"
(let* ((meta '(("name" . "hello")
("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")
("home-page" . "https://gnu.org")
("synopsis" . "Say hi")