Author: mturk
Date: Mon Apr 20 08:48:26 2009
New Revision: 766624
URL: http://svn.apache.org/viewvc?rev=766624&view=rev
Log:
Those files should be present on each system
Modified:
commons/sandbox/runtime/trunk/src/test/org/apache/commons/runtime/TestFile.java
Modified:
commons/sandbox/runtime/trunk/src/test/org/apache/commons/runtime/TestFile.java
URL:
http://svn.apache.org/viewvc/commons/sandbox/runtime/trunk/src/test/org/apache/commons/runtime/TestFile.java?rev=766624&r1=766623&r2=766624&view=diff
==============================================================================
---
commons/sandbox/runtime/trunk/src/test/org/apache/commons/runtime/TestFile.java
(original)
+++
commons/sandbox/runtime/trunk/src/test/org/apache/commons/runtime/TestFile.java
Mon Apr 20 08:48:26 2009
@@ -52,12 +52,12 @@
{
File f;
if (OS.IS_UNIX)
- f = new File("/tmp");
+ f = new File("/etc/hosts");
else
- f = new File("C:\\Program Files");
+ f = new File("C:\\Windows\\win.ini");
FileType t = f.getFileType();
- assertEquals("Type", FileType.DIR, t);
+ assertEquals("Type", FileType.REG, t);
}
public void testFileTypeCreated()