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:
parent
09a6706817
commit
258ec82455
@ -62,10 +62,11 @@ run_test 023 "kerning paragraph centered mode (small)" "$cmd -kpc -fsmall"
|
|||||||
|
|
||||||
rm -f "$OUTPUT"
|
rm -f "$OUTPUT"
|
||||||
|
|
||||||
|
echo
|
||||||
if [ $result -ne 0 ]; then
|
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
|
else
|
||||||
echo "\n All tests passed."
|
echo " All tests passed."
|
||||||
fi
|
fi
|
||||||
|
|
||||||
exit $result
|
exit $result
|
||||||
|
Loading…
x
Reference in New Issue
Block a user