Error Message on not determined TYPO3_PATH_WEB produces an error on itself.
'Unable to determine path to entry script. Please check your path or set an environment variable \'TYPO3_PATH_WEB\' to your root path.' will also output error messages about a not defined constant named LF.
This constant is used for the output, but not defined due to the not determined entry point.
[BUGFIX] Remove possibly undefined constant from test bootstraps
The constant LF might not be defined in functional and unit test
bootstrap by the time the script terminates with an error message.
Replacing the usage of this constant with the native value for a
linebreak causes the same result for the error message, but prevents
the additional and confusing messages about the not existing constant.
Tested-by: TYPO3com <firstname.lastname@example.org>
Reviewed-by: Christian Kuhn <email@example.com>
Tested-by: Christian Kuhn <firstname.lastname@example.org>