X-Git-Url: http://the.earth.li/gitweb/?a=blobdiff_plain;f=t%2Fall-040-index-text.t;h=af82b9e3961861ee43d549b1c1c07905b62e3003;hb=97c3564f800bbf922f771f79bfb7e8e014fc9b77;hp=f5b1c14e1c82ed3e0cd16ad237c1cca48c731147;hpb=018dafe62a5fcb63626c01d8bafdc7330fc13278;p=onak.git diff --git a/t/all-040-index-text.t b/t/all-040-index-text.t index f5b1c14..af82b9e 100755 --- a/t/all-040-index-text.t +++ b/t/all-040-index-text.t @@ -5,13 +5,13 @@ set -e # Backends should really support this, but the file one is as simple as # possible, so doesn't. Skip the test for it. -if [ "$1" = "file" ]; then +if [ "$2" = "file" ]; then exit 0 fi cd t -../onak -b -c test.conf add < ../keys/noodles.key -if ! ../onak -c test.conf index noodles 2> /dev/null | \ +../onak -b -c $1 add < ../keys/noodles.key +if ! ../onak -c $1 index noodles 2> /dev/null | \ grep -q -- 'pub 4096R/2DA8B985 2008/06/03 Jonathan McDowell'; then echo "* Did not correctly retrieve key by text" exit 1