X-Git-Url: https://the.earth.li/gitweb/?a=blobdiff_plain;f=t%2Fall-030-get-fail.t;h=77268043ad5b21924140d5ca35481ff58def9cc9;hb=6d60149434eed130c201d4d670ce7b3be5c2866b;hp=0db2b2876aa8a591ff668e1b4b15a5d43888ba92;hpb=2682946a339e46d392eebcb7597ef2073720df0d;p=onak.git diff --git a/t/all-030-get-fail.t b/t/all-030-get-fail.t index 0db2b28..7726804 100755 --- a/t/all-030-get-fail.t +++ b/t/all-030-get-fail.t @@ -3,9 +3,9 @@ set -e -cd t -../onak -b -c test.conf add < ../keys/noodles.key -if ! ../onak -c test.conf get 0x12345678 2>&1 | \ +cd ${WORKDIR} +${BUILDDIR}/onak -b -c $1 add < ${TESTSDIR}/../keys/noodles.key +if ! ${BUILDDIR}/onak -c $1 get 0x12345678 2>&1 | \ grep -q 'Key not found'; then echo "* Did not correctly error on non-existent key" exit 1