From 47d47082fc2a1f9ecd58fb36269559c695f27621 Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Mon, 16 Dec 2013 14:30:58 -0800 Subject: [PATCH] test: better output if a test fails --- test/test_helper.bash | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/test_helper.bash b/test/test_helper.bash index 647a5b757..43d30e429 100644 --- a/test/test_helper.bash +++ b/test/test_helper.bash @@ -22,6 +22,9 @@ save_function run old_run run() { old_run $@ + # Output the command we ran + echo "Executing: " $@ + # "$output" gets rid of newlines. This will bring them back. for line in "${lines[@]}"; do echo $line