From f50c196e5a34ae21e8a9f4b7e9d92e2264a5a879 Mon Sep 17 00:00:00 2001 From: Reepca Russelstein Date: Tue, 16 Jun 2026 21:03:25 -0500 Subject: tests: challenge: produce narinfo StorePath with proper hash length. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- tests/challenge.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests') 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." (out2 -> (derivation->output-path drv2)) (item -> (string-append (%store-prefix) "/" (bytevector->nix-base32-string - (random-bytevector 32)) + (random-bytevector 20)) "-foo" (number->string (current-time) 16)))) (mbegin %store-monad -- cgit v1.2.3