guix_mirror_bot pushed a commit to branch master
in repository guix.

commit 52ffaed4aafaec1f3701eb4b8ed81fde3328729a
Author: Jelle Licht <[email protected]>
AuthorDate: Thu Oct 15 14:28:10 2026 +0200

    tests: guix-authenticate: Use the absolute key file name.
    
    The relative file name only worked when running tests from the source
    directory.
    
    * tests/guix-authenticate.sh: Use $key and $key_len.
---
 tests/guix-authenticate.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/guix-authenticate.sh b/tests/guix-authenticate.sh
index 3fe974955c3..18747041712 100644
--- a/tests/guix-authenticate.sh
+++ b/tests/guix-authenticate.sh
@@ -67,7 +67,7 @@ test "$code" -ne 0
 # encoded independently of the current locale: <https://bugs.gnu.org/43421>.
 hash="636166e9636166e9636166e9636166e9636166e9636166e9636166e9636166e9"
 latin1_cafe="caf$(printf '\351')"
-echo "sign 34:tests/keys/openpgp/signing-key.sec 64:$hash" | guix authenticate 
\
+echo "sign $key_len:$key 64:$hash" | guix authenticate \
     | LC_ALL=C grep "hash sha256 \"$latin1_cafe"
 
 # Test for <http://bugs.gnu.org/17312>: make sure 'guix authenticate' produces

Reply via email to