summaryrefslogtreecommitdiff
path: root/tests/publish.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2017-12-01 18:30:07 +0100
committerLudovic Courtès <ludo@gnu.org>2017-12-01 18:47:34 +0100
commit2a4050341f10d9d3e3db0c64ff94279f3fa4d37c (patch)
tree3c0e040788c5b3ff957165232bf166b38b013633 /tests/publish.scm
parentcea25b08bfd22bda940e5ac7ea29d4fa035d8303 (diff)
downloadpatches-2a4050341f10d9d3e3db0c64ff94279f3fa4d37c.tar
patches-2a4050341f10d9d3e3db0c64ff94279f3fa4d37c.tar.gz
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.
Diffstat (limited to 'tests/publish.scm')
-rw-r--r--tests/publish.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/publish.scm b/tests/publish.scm
index f33898fd58..352caf5325 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/"