Make SysinfoCPCheckTest pass in non-English locale
--------------------------------------------------
Key: DERBY-5211
URL: https://issues.apache.org/jira/browse/DERBY-5211
Project: Derby
Issue Type: Task
Components: Test
Reporter: Houx Zhang
Assignee: Houx Zhang
SysinfoCPCheckTest failed in Chinese locale.
D:\derby\test>java junit.textui.TestRunner org.apache.derbyTesting.functionTests
.tests.tools.SysinfoCPCheckTest
.F
Time: 1.438
There was 1 failure:
1) testClassPathChecker(org.apache.derbyTesting.functionTests.tests.tools.Sysinf
oCPCheckTest)junit.framework.ComparisonFailure: null expected:<[Testing for pres
ence of all Derby-related libraries; typically, only some are needed.]> but was:
<[测试所有与 Derby 相关的库是否存在;通常只需要其中的某些库。]>
at org.apache.derbyTesting.functionTests.tests.tools.SysinfoCPCheckTest.
testClassPathChecker(SysinfoCPCheckTest.java:157)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java:
112)
FAILURES!!!
Tests run: 1, Failures: 1, Errors: 0
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira