test: better output if a test fails

This commit is contained in:
Mitchell Hashimoto 2013-12-16 14:30:58 -08:00
parent c751fb58cc
commit 47d47082fc
1 changed files with 3 additions and 0 deletions

View File

@ -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