[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
03/04: tests: Avoid double slash in URIs.
From: |
Ludovic Courtès |
Subject: |
03/04: tests: Avoid double slash in URIs. |
Date: |
Fri, 1 Dec 2017 12:47:40 -0500 (EST) |
civodul pushed a commit to branch master
in repository guix.
commit 2a4050341f10d9d3e3db0c64ff94279f3fa4d37c
Author: Ludovic Courtès <address@hidden>
Date: Fri Dec 1 18:30:07 2017 +0100
tests: Avoid double slash in URIs.
* tests/publish.scm ("with cache"): Remove extra slash in NAR-URL. This
would lead to a 'uri-error' exception on Guile 2.2.3.
---
tests/publish.scm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/publish.scm b/tests/publish.scm
index f33898f..352caf5 100644
--- a/tests/publish.scm
+++ b/tests/publish.scm
@@ -352,7 +352,7 @@ FileSize: ~a~%"
(let* ((base "http://localhost:6797/")
(part (store-path-hash-part %item))
(url (string-append base part ".narinfo"))
- (nar-url (string-append base "/nar/gzip/" (basename %item)))
+ (nar-url (string-append base "nar/gzip/" (basename %item)))
(cached (string-append cache "/gzip/" (basename %item)
".narinfo"))
(nar (string-append cache "/gzip/"