]> the.earth.li Git - onak.git/commitdiff
Fix error message for SKS hash test
authorJonathan McDowell <noodles@earth.li>
Sat, 19 Jul 2025 14:35:15 +0000 (15:35 +0100)
committerJonathan McDowell <noodles@earth.li>
Sat, 19 Jul 2025 14:35:15 +0000 (15:35 +0100)
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

index dee252c9998ba3cd26dd7dab7378852c961d3bd2..df39b3472d1e14c87fd39ffcff659e80f8337bae 100755 (executable)
@@ -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