2 # Check we can index a key by some uid text
6 # Backends should really support this, but the file one is as simple as
7 # possible, so doesn't. Skip the test for it.
8 if [ "$1" = "file" ]; then
13 ../onak -b -c test.conf add < ../keys/noodles.key
14 if ! ../onak -c test.conf index noodles 2> /dev/null | \
15 grep -q -- 'pub 4096R/2DA8B985 2008/06/03 Jonathan McDowell'; then
16 echo "* Did not correctly retrieve key by text"