[PATCH] Force tests to run under English locale (so they don't fail)
--------------------------------------------------------------------
Key: XALANJ-2516
URL: https://issues.apache.org/jira/browse/XALANJ-2516
Project: XalanJ2
Issue Type: Test
Security Level: No security risk; visible to anyone (Ordinary problems in
Xalan projects. Anybody can view the issue.)
Components: TestHarness-TestCase
Affects Versions: 2.7.1, The Latest Development Code
Environment: Microsoft Windows XP SP3
Running build.bat from command line or within Eclipse 3.5
Reporter: Jesper Steen Møller
Priority: Minor
Attachments: locale-patch.txt
The build.xml in the test project executes tests via <xalantest> Ant task, but
the locale is picked up from the surrounding OS. In non-english such as
Danish/Denmark, the date formatting and the string sorting works differently,
causing outputs which are different than the 'gold' ones.
This patch hardcodes the locale using Java system properties (user.language and
user.country).
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]