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 [ "$2" = "file" ]; then
13 ${BUILDDIR}/onak -b -c $1 add < ${TESTSDIR}/../keys/v5-test.key
14 if ! ${BUILDDIR}/onak -c $1 index emma 2> /dev/null | \
16 'pub 255E/0x19347BC987246402 2019/03/20 emma.goldman@example.net'; then
17 echo "* Did not correctly retrieve key by text"