]> the.earth.li Git - onak.git/blob - t/file-000-add.t
dbfb8118aa469589c12c8a6387a32d2a25e7bea3
[onak.git] / t / file-000-add.t
1 #!/bin/sh
2 # Check we can add a key successfully with the file backend.
3
4 set -e
5
6 cd t
7 ../onak -b -c $1 add < ../keys/noodles.key
8 if [ ! -e db/0x2DA8B985 ]; then
9         echo Did not correctly add key using file backend.
10         exit 1
11 fi
12
13 exit 0