publish: Always build a new derivation for the "/log/NAME" test.

Fixes <https://bugs.gnu.org/30868>.
Reported by Martin Castillo <castilma@uni-bremen.de>.

* tests/publish.scm ("/log/NAME"): Use #$(random-text) in the builder.
This commit is contained in:
Ludovic Courtès 2018-03-22 12:54:31 +01:00
parent c1cd155aa8
commit 04d2a16c4f
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5
1 changed files with 1 additions and 1 deletions

View File

@ -464,7 +464,7 @@ FileSize: ~a~%"
(lambda (port) (lambda (port)
(display "Hello, build log!" (display "Hello, build log!"
(current-error-port)) (current-error-port))
(display "" port))))))) (display #$(random-text) port)))))))
(build-derivations %store (list drv)) (build-derivations %store (list drv))
(let* ((response (http-get (let* ((response (http-get
(publish-uri (string-append "/log/" (publish-uri (string-append "/log/"