X-Git-Url: http://the.earth.li/gitweb/?a=blobdiff_plain;f=t%2Fall-030-get-fail.t;h=8d1bea66896b95810b3348c53af18a117971a195;hb=97c3564f800bbf922f771f79bfb7e8e014fc9b77;hp=0db2b2876aa8a591ff668e1b4b15a5d43888ba92;hpb=018dafe62a5fcb63626c01d8bafdc7330fc13278;p=onak.git diff --git a/t/all-030-get-fail.t b/t/all-030-get-fail.t index 0db2b28..8d1bea6 100755 --- a/t/all-030-get-fail.t +++ b/t/all-030-get-fail.t @@ -4,8 +4,8 @@ set -e cd t -../onak -b -c test.conf add < ../keys/noodles.key -if ! ../onak -c test.conf get 0x12345678 2>&1 | \ +../onak -b -c $1 add < ../keys/noodles.key +if ! ../onak -c $1 get 0x12345678 2>&1 | \ grep -q 'Key not found'; then echo "* Did not correctly error on non-existent key" exit 1