[ http://issues.apache.org/jira/browse/DERBY-1352?page=all ]
Andreas Korneliussen updated DERBY-1352:
----------------------------------------
Attachment: DERBY-1352.diff
DERBY-1352.stat
Attached is a patch which sets the system properties user.language and
user.country on the test process and the networkserver process when started
from the test harness.
With this patch, I could successfully run derbynet/sysinfo.java with norwegian
locale.
This patch may not have any effect on all VMs. Versions 1.4 and higher of
Sun's JREs let you override the locale by setting user.language, user.country
properties. Not all runtime environments provide this feature.
> sysinfo tests should filter out locale information so that it can be run
> successfully on locales that are not en_US
> -------------------------------------------------------------------------------------------------------------------
>
> Key: DERBY-1352
> URL: http://issues.apache.org/jira/browse/DERBY-1352
> Project: Derby
> Type: Improvement
> Components: Test
> Reporter: David Van Couvering
> Attachments: DERBY-1352.diff, DERBY-1352.stat
>
> Right now if your local is not set to en_US you get diffs on the sysinfo
> tests. We should filter this output out using a sed file so that you don't
> have to have the en_US locale to get a clean test run.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira