I'm not able to recreate this on Win Vista. I'm going to tweak the test anyway and commit the change. Let me know if you're still seeing the issue.
-Nathan On Tue, Apr 14, 2009 at 6:39 PM, Nathan Beyer <[email protected]> wrote: > I'm looking at it now. I did my dev and testing on linux. I'm guessing > invoking the canonical path is normalizing the drive letter. > > -Nathan > > On Tue, Apr 14, 2009 at 8:52 AM, Tim Ellison <[email protected]> wrote: >> I see file test failures on Win IA32 apparently caused by this commit >> (reverting this commit fixes the tests again): >> >> Created Incorrect File expected:<[C]:\Harmony\modules\lu...> but >> was:<[c]:\Harmony\modules\lu...> >> >> junit.framework.ComparisonFailure: Created Incorrect File >> expected:<[C]:\Harmony\modules\lu...> but was:<[c]:\Harmony\modules\lu...> >> at >> org.apache.harmony.luni.tests.java.io.FileTest.test_ConstructorLjava_io_FileLjava_lang_String2(FileTest.java:114) >> at java.lang.reflect.AccessibleObject.invokeV(AccessibleObject.java:25) >> >> >> >> [email protected] wrote: >>> Author: ndbeyer >>> Date: Sat Apr 11 23:41:57 2009 >>> New Revision: 764261 >>> >>> URL: http://svn.apache.org/viewvc?rev=764261&view=rev >>> Log: >>> rework File tests to reduce duplicaiton and assure proper file cleanup >>> >>> Modified: >>> >>> harmony/enhanced/classlib/trunk/modules/luni/src/test/api/common/org/apache/harmony/luni/tests/java/io/FileInputStreamTest.java >>> >>> harmony/enhanced/classlib/trunk/modules/luni/src/test/api/common/org/apache/harmony/luni/tests/java/io/FileOutputStreamTest.java >>> >>> harmony/enhanced/classlib/trunk/modules/luni/src/test/api/common/org/apache/harmony/luni/tests/java/io/FileTest.java >>> >> >> >
