tests: Avoid double slash in URIs.
authorLudovic Courtès <ludo@gnu.org>
Fri, 1 Dec 2017 17:30:07 +0000 (18:30 +0100)
committerLudovic Courtès <ludo@gnu.org>
Fri, 1 Dec 2017 17:47:34 +0000 (18:47 +0100)
* 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

index f33898f..352caf5 100644 (file)
@@ -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/"