diff options
author | Ludovic Courtès <ludo@gnu.org> | 2017-12-01 18:30:07 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2017-12-01 18:47:34 +0100 |
commit | 2a4050341f10d9d3e3db0c64ff94279f3fa4d37c (patch) | |
tree | 3c0e040788c5b3ff957165232bf166b38b013633 /tests/publish.scm | |
parent | cea25b08bfd22bda940e5ac7ea29d4fa035d8303 (diff) | |
download | patches-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.scm | 2 |
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/" |