aboutsummaryrefslogtreecommitdiff
path: root/tests/import-utils.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2017-10-06 14:15:34 +0200
committerLudovic Courtès <ludo@gnu.org>2017-10-06 14:16:24 +0200
commit8b920d707ed07a3251227f77526cf875d86a4417 (patch)
treeb96a79585a0abf30e604e0f051587b504804cd6a /tests/import-utils.scm
parent0b12324284f3fbf378d363070f91b794058ae570 (diff)
downloadpatches-8b920d707ed07a3251227f77526cf875d86a4417.tar
patches-8b920d707ed07a3251227f77526cf875d86a4417.tar.gz
import: Use a 'file://' URL in 'alist->package' test.
* tests/import-utils.scm ("alist->package with simple source"): Use a 'file://' URL.
Diffstat (limited to 'tests/import-utils.scm')
-rw-r--r--tests/import-utils.scm5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/import-utils.scm b/tests/import-utils.scm
index 3d8d2c698d..f4bbd335b9 100644
--- a/tests/import-utils.scm
+++ b/tests/import-utils.scm
@@ -43,7 +43,10 @@
(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")