From c40eeace66cc41d2819e2129402611422caefb50 Mon Sep 17 00:00:00 2001 From: David Phillips Date: Sat, 18 Nov 2017 15:31:55 +1300 Subject: Dump key file on test failure --- test/002-test-key-name.test/run.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- cgit v1.1