summary refs log tree commit diff
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2018-03-22 12:54:31 +0100
committerLudovic Courtès <ludo@gnu.org>2018-03-22 12:54:31 +0100
commit04d2a16c4ffd2f3ddfbaf3848093424228e7d918 (patch)
treec99b6bc354f09e06d405f70f3ff2658e262987b2
parentc1cd155aa8afa17e60491c85e8f226f99257d395 (diff)
downloadguix-04d2a16c4ffd2f3ddfbaf3848093424228e7d918.tar.gz
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.
-rw-r--r--tests/publish.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/publish.scm b/tests/publish.scm
index a4a52a4efe..1ed8308076 100644
--- a/tests/publish.scm
+++ b/tests/publish.scm
@@ -464,7 +464,7 @@ FileSize: ~a~%"
                                      (lambda (port)
                                        (display "Hello, build log!"
                                                 (current-error-port))
-                                       (display "" port)))))))
+                                       (display #$(random-text) port)))))))
     (build-derivations %store (list drv))
     (let* ((response (http-get
                       (publish-uri (string-append "/log/"