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.
This commit is contained in:
parent
cea25b08bf
commit
2a4050341f
|
@ -352,7 +352,7 @@ FileSize: ~a~%"
|
||||||
(let* ((base "http://localhost:6797/")
|
(let* ((base "http://localhost:6797/")
|
||||||
(part (store-path-hash-part %item))
|
(part (store-path-hash-part %item))
|
||||||
(url (string-append base part ".narinfo"))
|
(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)
|
(cached (string-append cache "/gzip/" (basename %item)
|
||||||
".narinfo"))
|
".narinfo"))
|
||||||
(nar (string-append cache "/gzip/"
|
(nar (string-append cache "/gzip/"
|
||||||
|
|
Loading…
Reference in New Issue