Minor fix of error printing
Result of run_test.sh is currently printed with printf. That does not
correctly print colours for TIMEOUT/CRASH result. Use printf to print
the test name and align the cursor, but print the actual result with
'echo -e'.
Change-Id: I2a9b03579ba92179eda223c6f67a4db0fdd289f9
diff --git a/kvm-unit-tests/run_test.sh b/kvm-unit-tests/run_test.sh
index b7ca66d..031cc47 100755
--- a/kvm-unit-tests/run_test.sh
+++ b/kvm-unit-tests/run_test.sh
@@ -160,6 +160,7 @@
EXIT_STATUS=1
fi
- printf "%-${RESULT_ALIGN}s %s\n" "${DISPLAY_NAME}" "${RESULT}"
+ printf "%-${RESULT_ALIGN}s " "${DISPLAY_NAME}"
+ echo -e "${RESULT}"
exit ${EXIT_STATUS}
fi