Return-Path: X-Original-To: apmail-hadoop-hdfs-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-hdfs-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 2D24EC7F0 for ; Thu, 10 May 2012 23:05:17 +0000 (UTC) Received: (qmail 20785 invoked by uid 500); 10 May 2012 23:05:11 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 20754 invoked by uid 500); 10 May 2012 23:05:11 -0000 Mailing-List: contact hdfs-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hdfs-issues@hadoop.apache.org Delivered-To: mailing list hdfs-issues@hadoop.apache.org Received: (qmail 20727 invoked by uid 99); 10 May 2012 23:05:11 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 May 2012 23:05:11 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 May 2012 23:05:09 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 820524909AB for ; Thu, 10 May 2012 23:04:48 +0000 (UTC) Date: Thu, 10 May 2012 23:04:48 +0000 (UTC) From: "Brandon Li (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: <1981665119.52185.1336691088534.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <84220790.35572.1333060168504.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (HDFS-3163) TestHDFSCLI.testAll fails if the user name is not all lowercase MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HDFS-3163?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Brandon Li updated HDFS-3163: ----------------------------- Attachment: HDFS-3163.patch Changed testHDFSConf.xml to support user name with uppercase and number. > 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 > 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} > > RegexpComparator > ^-rw-r--r--( )*1( )*[a-z]*( )*supergroup( )*0( )*[0-9]{4,}-[0-9]{2,}-[0-9]{2,} [0-9]{2,}:[0-9]{2,}( )*/file1 > > {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