X-Git-Url: http://the.earth.li/gitweb/?a=blobdiff_plain;f=t%2Fall-020-get.t;h=7fd617a3a72155322d009db161b039599047f116;hb=de18b56efecadc4b5d2473904828db9c08cd2162;hp=8adaa3f43693f9bbe9a4d5797a5275f24ee54390;hpb=2682946a339e46d392eebcb7597ef2073720df0d;p=onak.git diff --git a/t/all-020-get.t b/t/all-020-get.t index 8adaa3f..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 test.conf add < ../keys/noodles.key -if ! ../onak -c test.conf get 0x2DA8B985 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