aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Phillips <david@sighup.nz>2017-11-18 15:31:55 +1300
committerDavid Phillips <david@sighup.nz>2017-11-18 15:31:55 +1300
commitc40eeace66cc41d2819e2129402611422caefb50 (patch)
treedf61b75c2c3c213cd524c5960e9761472bfe2bc3
parente9ca2c4957c6187878425f6040fafbca54a965d2 (diff)
downloadsand-leek-c40eeace66cc41d2819e2129402611422caefb50.tar.xz
Dump key file on test failure
-rwxr-xr-xtest/002-test-key-name.test/run.sh3
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