Andreas Korneliussen wrote:
Andrew McIntyre wrote:
The test below that is reported as failing is the new test introduced
with DERBY-982, sysinfo_api.junit. This test passes on both my Mac OS
X and Windows XP system before and after commit. Does anyone have any
insight as to why the test may be failing in the Tinderbox
environment?


It failed for me when using jar-files in the classpath, however it passed when using classes directory. The tinderbox uses jar-files.

The errors below are the same as I saw when I first tried the old test for DERBY-982 (master based, not JUnit). When I think about it, I think I also ran the new JUnit test from classes instead of jars.

Is this maybe a problem with sysinfo, or how it is run, and not the test itself?



--
Kristian




[EMAIL PROTECTED]:/<5>802/testing> java org.apache.derbyTesting.functionTests.harness.RunTest tools/sysinfo_api.junit
*** Start: sysinfo_api jdk1.4.2_02 2006-07-18 10:34:35 ***
0 add
 > .F.F.F.F.
 > There were 4 failures:
> 1) testMajorVersion(org.apache.derbyTesting.functionTests.tests.tools.sysinfo_api)junit.framework.AssertionFailedError: expected:<10> but was:<-1> > 2) testMinorVersion(org.apache.derbyTesting.functionTests.tests.tools.sysinfo_api)junit.framework.AssertionFailedError: expected:<2> but was:<-1> > 3) testProductName(org.apache.derbyTesting.functionTests.tests.tools.sysinfo_api)junit.framework.ComparisonFailure: expected:<Apache Derby> but was:<<no name found>> > 4) testVersionString(org.apache.derbyTesting.functionTests.tests.tools.sysinfo_api)junit.framework.ComparisonFailure: expected:<10.2.0.4 alpha> but was:<<no name found>>
 > FAILURES!!!
 > Tests run: 5,  Failures: 4,  Errors: 0
Test Failed.
*** End:   sysinfo_api jdk1.4.2_02 2006-07-18 10:34:41 ***
[EMAIL PROTECTED]:/<5>802/testing> env | grep CLASSPA
CLASSPATH=/export/home/tmp/devel/issue/802/trunk/jars/sane/derbyrun.jar:/export/home/tmp/devel/issue/802/trunk/jars/sane/derby.jar:/export/home/tmp/devel/issue/802/trunk/jars/sane/derbyclient.jar:/export/home/tmp/devel/issue/802/trunk/tools/java/junit.jar:/export/home/tmp/devel/issue/802/trunk/jars/sane/derbytools.jar:/export/home/tmp/devel/issue/802/trunk/jars/sane/derbynet.jar:/export/home/tmp/devel/issue/802/trunk/tools/java/junit.jar:/export/home/tmp/devel/issue/802/trunk/tools/java/jakarta-oro-2.0.8.jar:/export/home/tmp/devel/issue/802/trunk/jars/sane/derbyTesting.jar:/export/home/tmp/devel/issue/802/trunk/jars/sane/derbyLocale_de_DE.jar:/export/home/tmp/devel/issue/802/trunk/jars/sane/derbyLocale_es.jar:/export/home/tmp/devel/issue/802/trunk/jars/sane/derbyLocale_fr.jar:/export/home/tmp/devel/issue/802/trunk/jars/sane/derbyLocale_it.jar:/export/home/tmp/devel/issue/802/trunk/jars/sane/derbyLocale_ja_JP.jar:/export/home/tmp/devel/issue/802/trunk/jars/sane/derbyLocale_k
o_

KR.jar:/export/home/tmp/devel/issue/802/trunk/jars/sane/derbyLocale_pt_BR.jar:/export/home/tmp/devel/issue/802/trunk/jars/sane/derbyLocale_zh_CN.jar:/export/home/tmp/devel/issue/802/trunk/jars/sane/derbyLocale_zh_TW.jar:/usr/local/share/java/db2jcc/lib/db2jcc.jar:/usr/local/share/java/db2jcc/lib/db2jcc_license_c.jar [EMAIL PROTECTED]:/<5>802/testing> setenv CLASSPATH /export/home/tmp/devel/issue/802/trunk/classes/:/export/home/tmp/devel/issue/802/trunk/tools/java/junit.jar:/export/home/tmp/devel/issue/802/trunk/tools/java/jakarta-oro-2.0.8.jar [EMAIL PROTECTED]:/<5>802/testing> java org.apache.derbyTesting.functionTests.harness.RunTest tools/sysinfo_api.junit *** Start: sysinfo_api jdk1.4.2_02 2006-07-18 10:36:18 ***
*** End:   sysinfo_api jdk1.4.2_02 2006-07-18 10:36:24 ***


Andreas

Reply via email to