]> git.sommitrealweird.co.uk Git - onak.git/blob - t/fs-010-del.t
Export find_packet from merge.c
[onak.git] / t / fs-010-del.t
1 #!/bin/sh
2 # Check we can delete a key successfully with the fs backend.
3
4 set -e
5
6 cd t
7 ../onak -b -c test.conf add < ../keys/noodles.key
8 ../onak -b -c test.conf delete 0x2DA8B985
9 if [ -e db/key/2D/A8/2DA8B985/94FA372B2DA8B985 ]; then
10         echo "* Did not correctly delete key using fs backend"
11         exit 1
12 fi
13
14 exit 0