]> the.earth.li Git - onak.git/blobdiff - t/all-030-get-fail.t
Pass config file name into test scripts
[onak.git] / t / all-030-get-fail.t
index 0db2b2876aa8a591ff668e1b4b15a5d43888ba92..8d1bea66896b95810b3348c53af18a117971a195 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 0x12345678 2>&1 | \
+../onak -b -c $1 add < ../keys/noodles.key
+if ! ../onak -c $1 get 0x12345678 2>&1 | \
        grep -q 'Key not found'; then
        echo "* Did not correctly error on non-existent key"
        exit 1