X-Git-Url: https://the.earth.li/gitweb/?p=onak.git;a=blobdiff_plain;f=t%2Fall-050-get-hash.t;h=dee252c9998ba3cd26dd7dab7378852c961d3bd2;hp=ef83dc255dfc6fee4db2f84046f2a68648591951;hb=94422621d7c1300ae7001d13590570f9d4ad2a07;hpb=adc800dbc424a1e246dd4a82a0c2e88eeda25531 diff --git a/t/all-050-get-hash.t b/t/all-050-get-hash.t index ef83dc2..dee252c 100755 --- a/t/all-050-get-hash.t +++ b/t/all-050-get-hash.t @@ -9,9 +9,9 @@ if [ "$2" = "file" ]; then exit 0 fi -cd t -../onak -b -c $1 add < ../keys/noodles.key -if ! ../onak -c $1 hget 81929DAE08B8F80888DA524923B93067 2> /dev/null | \ +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" exit 1