[ 
https://issues.apache.org/jira/browse/HDFS-3163?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13272932#comment-13272932
 ] 

Brandon Li commented on HDFS-3163:
----------------------------------

I tested the patch by running TestHDFSCLI. It passed with different users like 
admin, Brandon and test1.
                
> TestHDFSCLI.testAll fails if the user name is not all lowercase
> ---------------------------------------------------------------
>
>                 Key: HDFS-3163
>                 URL: https://issues.apache.org/jira/browse/HDFS-3163
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: test
>            Reporter: Brandon Li
>            Assignee: Brandon Li
>            Priority: Trivial
>         Attachments: HDFS-3163.patch
>
>
> In the test resource file testHDFSConf.xml, the test comparators expect user 
> name to be all lowercase. 
> If the user issuing the test has an uppercase in the username (e.g., Brandon 
> instead of brandon), many RegexpComarator tests will fail. The following is 
> one example:
> {noformat} 
>         <comparator>
>           <type>RegexpComparator</type>
>           <expected-output>^-rw-r--r--( )*1( )*[a-z]*( )*supergroup( )*0( 
> )*[0-9]{4,}-[0-9]{2,}-[0-9]{2,} [0-9]{2,}:[0-9]{2,}( 
> )*/file1</expected-output>
>         </comparator>
> {noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to