]> the.earth.li Git - onak.git/blobdiff - t/all-060-get-fingerprint.t
Pass config file name into test scripts
[onak.git] / t / all-060-get-fingerprint.t
index 920e9a338dbcc8a66e8ad4ff9ec591980eb46235..e79c636f7eb6beda0821abb58d5d4feb3812df0c 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 0x0E3A94C3E83002DAB88CCA1694FA372B2DA8B985 2> /dev/null | \
+../onak -b -c $1 add < ../keys/noodles.key
+if ! ../onak -c $1 get 0x0E3A94C3E83002DAB88CCA1694FA372B2DA8B985 2> /dev/null | \
        grep -q -- '-----BEGIN PGP PUBLIC KEY BLOCK-----'; then
        echo "* Did not correctly retrieve key by keyid."
        exit 1