X-Git-Url: https://the.earth.li/gitweb/?p=onak.git;a=blobdiff_plain;f=t%2Fall-020-get.t;h=7fd617a3a72155322d009db161b039599047f116;hp=75649286a469ea7d8ed7eec5d7eb5b02a3d231a4;hb=94422621d7c1300ae7001d13590570f9d4ad2a07;hpb=adc800dbc424a1e246dd4a82a0c2e88eeda25531 diff --git a/t/all-020-get.t b/t/all-020-get.t index 7564928..7fd617a 100755 --- a/t/all-020-get.t +++ b/t/all-020-get.t @@ -3,9 +3,9 @@ set -e -cd t -../onak -b -c $1 add < ../keys/noodles.key -if ! ../onak -c $1 get 0x94FA372B2DA8B985 2> /dev/null | \ +cd ${WORKDIR} +${BUILDDIR}/onak -b -c $1 add < ${TESTSDIR}/../keys/noodles.key +if ! ${BUILDDIR}/onak -c $1 get 0x94FA372B2DA8B985 2> /dev/null | \ grep -q -- '-----BEGIN PGP PUBLIC KEY BLOCK-----'; then echo "* Did not correctly retrieve key by keyid." exit 1