2 # Check we can't submit a new key when update_only is set
8 echo update_only=true >> update-only.ini
9 ${BUILDDIR}/onak -b -c update-only.ini add < ${TESTSDIR}/../keys/noodles.key || true
11 if ! ${BUILDDIR}/onak -c $1 get 0x94FA372B2DA8B985 2>&1 | \
12 grep -q 'Key not found'; then
13 echo "* Did not correctly error on update-only key"