From 5d4d9029bee0ed54fc4ad0f64490cae0bc5289a3 Mon Sep 17 00:00:00 2001 From: Jonathan McDowell Date: Sat, 19 Jul 2025 15:35:15 +0100 Subject: [PATCH] Fix error message for SKS hash test We're not trying to retrieve by text, we're using the SHA1 SKS hash. Fix the error message to actually say that. --- t/all-050-get-hash.t | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/t/all-050-get-hash.t b/t/all-050-get-hash.t index dee252c..df39b34 100755 --- a/t/all-050-get-hash.t +++ b/t/all-050-get-hash.t @@ -13,7 +13,7 @@ cd ${WORKDIR} ${BUILDDIR}/onak -b -c $1 add < ${TESTSDIR}/../keys/noodles.key if ! ${BUILDDIR}/onak -c $1 hget 81929DAE08B8F80888DA524923B93067 2> /dev/null | \ grep -q -- '-----BEGIN PGP PUBLIC KEY BLOCK-----'; then - echo "* Did not correctly retrieve key by text" + echo "* Did not correctly retrieve key by SKS hash" exit 1 fi -- 2.39.5