Add basic testing infrastructure + initial tests
[onak.git] / t / db4-000-add.t
1 #!/bin/sh
2 # Check we can add a key successfully with the db4 backend.
3
4 set -e
5
6 cd t
7 ../onak -b -c test.conf add < ../keys/noodles.key
8 if [ ! -e db/worddb -o ! -e db/id32db -o ! -e db/keydb.0.db ]; then
9         echo Did not correctly add key using db4 backend.
10         exit 1
11 fi
12
13 exit 0