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
0d2908b98c
commit
6c3db7930d
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user