diff options
author | David Phillips <david@sighup.nz> | 2017-11-18 15:31:55 +1300 |
---|---|---|
committer | David Phillips <david@sighup.nz> | 2017-11-18 15:31:55 +1300 |
commit | c40eeace66cc41d2819e2129402611422caefb50 (patch) | |
tree | df61b75c2c3c213cd524c5960e9761472bfe2bc3 /test/002-test-key-name.test | |
parent | e9ca2c4957c6187878425f6040fafbca54a965d2 (diff) | |
download | sand-leek-c40eeace66cc41d2819e2129402611422caefb50.tar.xz |
Dump key file on test failure
Diffstat (limited to 'test/002-test-key-name.test')
-rwxr-xr-x | test/002-test-key-name.test/run.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/002-test-key-name.test/run.sh b/test/002-test-key-name.test/run.sh index e4b4acb..f9fd5c3 100755 --- a/test/002-test-key-name.test/run.sh +++ b/test/002-test-key-name.test/run.sh @@ -29,6 +29,7 @@ if [ "$found" = "$real" ] ; then rm $stderr exit 0 else - echo "Error: No match" + echo "Error: No match. Key file contents:" + cat "$key" exit 1 fi |