projects
/
onak.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Add basic testing infrastructure + initial tests
[onak.git]
/
t
/
all-030-get-fail.t
1
#!/bin/sh
2
# Check retrieving a non existent keyid fails
3
4
set -e
5
6
cd t
7
../onak -b -c test.conf add < ../keys/noodles.key
8
if ! ../onak -c test.conf get 0x12345678 2>&1 | \
9
grep -q 'Key not found'; then
10
echo "* Did not correctly error on non-existent key"
11
exit 1
12
fi
13
14
exit 0