]> the.earth.li Git - onak.git/blobdiff - t/all-070-get-short.t
Pass config file name into test scripts
[onak.git] / t / all-070-get-short.t
index 8adaa3f43693f9bbe9a4d5797a5275f24ee54390..b8431a61feeae453ef8976e3e42c11129eca8bd7 100755 (executable)
@@ -4,8 +4,8 @@
 set -e
 
 cd t
-../onak -b -c test.conf add < ../keys/noodles.key
-if ! ../onak -c test.conf get 0x2DA8B985 2> /dev/null | \
+../onak -b -c $1 add < ../keys/noodles.key
+if ! ../onak -c $1 get 0x2DA8B985 2> /dev/null | \
        grep -q -- '-----BEGIN PGP PUBLIC KEY BLOCK-----'; then
        echo "* Did not correctly retrieve key by keyid."
        exit 1