Prevent compatibility problems in test script

Linefeed characters are printed differently depending of the shell
used as /bin/sh. Use an extra echo to prevent output problems.

Signed-off-by: Claudio Matsuoka <cmatsuoka@gmail.com>
This commit is contained in:
Claudio Matsuoka 2011-01-25 13:33:02 -02:00
parent 0d2908b98c
commit 6c3db7930d

View File

@ -62,10 +62,11 @@ run_test 023 "kerning paragraph centered mode (small)" "$cmd -kpc -fsmall"
rm -f "$OUTPUT"
echo
if [ $result -ne 0 ]; then
echo "\n $fail tests failed. See $LOGFILE for result details"
echo " $fail tests failed. See $LOGFILE for result details"
else
echo "\n All tests passed."
echo " All tests passed."
fi
exit $result