X-Git-Url: http://the.earth.li/gitweb/?a=blobdiff_plain;f=t%2Ffs-000-add.t;fp=t%2Ffs-000-add.t;h=c20231e61b0f0b04cf0b2fb373a773b61b7a7aad;hb=2682946a339e46d392eebcb7597ef2073720df0d;hp=0000000000000000000000000000000000000000;hpb=c5c516adbe4ddcf8d57e7f21317125422e0f6ed8;p=onak.git diff --git a/t/fs-000-add.t b/t/fs-000-add.t new file mode 100755 index 0000000..c20231e --- /dev/null +++ b/t/fs-000-add.t @@ -0,0 +1,13 @@ +#!/bin/sh +# Check we can add a key successfully with the fs backend. + +set -e + +cd t +../onak -b -c test.conf add < ../keys/noodles.key +if [ ! -e db/key/2D/A8/2DA8B985/94FA372B2DA8B985 ]; then + echo Did not correctly add key using fs backend. + exit 1 +fi + +exit 0