test: better output if a test fails
This commit is contained in:
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…
Reference in New Issue