From: Jonathan McDowell Date: Sat, 19 Jul 2025 14:35:15 +0000 (+0100) Subject: Fix error message for SKS hash test X-Git-Url: https://the.earth.li/gitweb/?a=commitdiff_plain;h=5d4d9029bee0ed54fc4ad0f64490cae0bc5289a3;p=onak.git 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. --- 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