hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ni...@apache.org
Subject svn commit: r608983 - in /lucene/hadoop/trunk: CHANGES.txt src/test/org/apache/hadoop/dfs/TestDFSShell.java
Date Fri, 04 Jan 2008 20:26:19 GMT
Author: nigel
Date: Fri Jan  4 12:26:18 2008
New Revision: 608983

URL: http://svn.apache.org/viewvc?rev=608983&view=rev
Log:
HADOOP-2523. Fix TestDFSShell.testFilePermissions on Windows. Contributed by Raghu Angadi.

Modified:
    lucene/hadoop/trunk/CHANGES.txt
    lucene/hadoop/trunk/src/test/org/apache/hadoop/dfs/TestDFSShell.java

Modified: lucene/hadoop/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/lucene/hadoop/trunk/CHANGES.txt?rev=608983&r1=608982&r2=608983&view=diff
==============================================================================
--- lucene/hadoop/trunk/CHANGES.txt (original)
+++ lucene/hadoop/trunk/CHANGES.txt Fri Jan  4 12:26:18 2008
@@ -338,6 +338,9 @@
     HADOOP-2488. Fix a regression in random read performance.
     (Michael Stack via rangadi)
 
+    HADOOP-2523. Fix TestDFSShell.testFilePermissions on Windows.
+    (Raghu Angadi via nigel)
+
 Release 0.15.2 - 2008-01-02
 
   BUG FIXES

Modified: lucene/hadoop/trunk/src/test/org/apache/hadoop/dfs/TestDFSShell.java
URL: http://svn.apache.org/viewvc/lucene/hadoop/trunk/src/test/org/apache/hadoop/dfs/TestDFSShell.java?rev=608983&r1=608982&r2=608983&view=diff
==============================================================================
--- lucene/hadoop/trunk/src/test/org/apache/hadoop/dfs/TestDFSShell.java (original)
+++ lucene/hadoop/trunk/src/test/org/apache/hadoop/dfs/TestDFSShell.java Fri Jan  4 12:26:18
2008
@@ -302,8 +302,7 @@
   }
 
   /**
-   * Test chmod, getOwner(). 
-   * How do we test chown and chgrp?
+   * Test chmod. How do we test chown and chgrp?
    */
   public void testFilePermissions() throws IOException {
     Configuration conf = new Configuration();
@@ -342,10 +341,6 @@
      assertEquals("rw-rw-rw-",
                   fs.getFileStatus(file).getPermission().toString());
      
-     //test username
-     assertEquals(System.getProperty("user.name"), 
-                  fs.getFileStatus(file).getOwner());
-
      fs.delete(dir);     
     } catch (IOException e) {
       throw e;



Mime
View raw message