test: better output if a test fails

pull/919/head
Mitchell Hashimoto 13 years ago
parent c751fb58cc
commit 47d47082fc

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

Loading…
Cancel
Save