summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorReepca Russelstein <reepca@russelstein.xyz>2026-06-16 21:03:25 -0500
committerLudovic Courtès <ludo@gnu.org>2026-07-02 19:42:48 +0200
commitf50c196e5a34ae21e8a9f4b7e9d92e2264a5a879 (patch)
tree7852812ea6f9153e590fb0217afb8467201b951d /tests
parent5e0b68f3737ec29595bf92c8ce209702f5bd80be (diff)
tests: challenge: produce narinfo StorePath with proper hash length.
Recent changes caused (guix narinfo) to start validating the StorePath of all narinfos, which is what finally caught this. * tests/challenge.scm (call-mismatch-test): produce an item path whose hash has 32 nix-base32 characters, rather than 32 bytes. Change-Id: I19a5c0106c913d9ad37fb53a28e8add8bd6ec2a0 Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'tests')
-rw-r--r--tests/challenge.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/challenge.scm b/tests/challenge.scm
index fdd5fd238e8..6c79fa7b7cb 100644
--- a/tests/challenge.scm
+++ b/tests/challenge.scm
@@ -182,7 +182,7 @@ value."
182 (out2 -> (derivation->output-path drv2)) 182 (out2 -> (derivation->output-path drv2))
183 (item -> (string-append (%store-prefix) "/" 183 (item -> (string-append (%store-prefix) "/"
184 (bytevector->nix-base32-string 184 (bytevector->nix-base32-string
185 (random-bytevector 32)) 185 (random-bytevector 20))
186 "-foo" 186 "-foo"
187 (number->string (current-time) 16)))) 187 (number->string (current-time) 16))))
188 (mbegin %store-monad 188 (mbegin %store-monad