Return-Path: X-Original-To: apmail-hadoop-common-commits-archive@www.apache.org Delivered-To: apmail-hadoop-common-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 88F37CB55 for ; Tue, 18 Jun 2013 23:23:03 +0000 (UTC) Received: (qmail 9895 invoked by uid 500); 18 Jun 2013 23:23:03 -0000 Delivered-To: apmail-hadoop-common-commits-archive@hadoop.apache.org Received: (qmail 9844 invoked by uid 500); 18 Jun 2013 23:23:03 -0000 Mailing-List: contact common-commits-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: common-dev@hadoop.apache.org Delivered-To: mailing list common-commits@hadoop.apache.org Received: (qmail 9837 invoked by uid 99); 18 Jun 2013 23:23:03 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Jun 2013 23:23:03 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Jun 2013 23:23:02 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id BE3AD238897F for ; Tue, 18 Jun 2013 23:22:42 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1494374 - in /hadoop/common/branches/branch-1: CHANGES.txt src/test/org/apache/hadoop/fs/FSMainOperationsBaseTest.java Date: Tue, 18 Jun 2013 23:22:42 -0000 To: common-commits@hadoop.apache.org From: cnauroth@apache.org X-Mailer: svnmailer-1.0.8-patched Message-Id: <20130618232242.BE3AD238897F@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: cnauroth Date: Tue Jun 18 23:22:42 2013 New Revision: 1494374 URL: http://svn.apache.org/r1494374 Log: HADOOP-9624. TestFSMainOperationsLocalFileSystem failed when the Hadoop test root path has "X" in its name. Contributed by Xi Fang. Modified: hadoop/common/branches/branch-1/CHANGES.txt hadoop/common/branches/branch-1/src/test/org/apache/hadoop/fs/FSMainOperationsBaseTest.java Modified: hadoop/common/branches/branch-1/CHANGES.txt URL: http://svn.apache.org/viewvc/hadoop/common/branches/branch-1/CHANGES.txt?rev=1494374&r1=1494373&r2=1494374&view=diff ============================================================================== --- hadoop/common/branches/branch-1/CHANGES.txt (original) +++ hadoop/common/branches/branch-1/CHANGES.txt Tue Jun 18 23:22:42 2013 @@ -55,6 +55,9 @@ Release 1.3.0 - unreleased MAPREDUCE-5250. Searching for ';' in JobTracker History throws ArrayOutOfBoundException. (kkambatl via tucu) + HADOOP-9624. TestFSMainOperationsLocalFileSystem failed when the Hadoop test + root path has "X" in its name. (Xi Fang via cnauroth) + Release 1.2.1 - Unreleased INCOMPATIBLE CHANGES Modified: hadoop/common/branches/branch-1/src/test/org/apache/hadoop/fs/FSMainOperationsBaseTest.java URL: http://svn.apache.org/viewvc/hadoop/common/branches/branch-1/src/test/org/apache/hadoop/fs/FSMainOperationsBaseTest.java?rev=1494374&r1=1494373&r2=1494374&view=diff ============================================================================== --- hadoop/common/branches/branch-1/src/test/org/apache/hadoop/fs/FSMainOperationsBaseTest.java (original) +++ hadoop/common/branches/branch-1/src/test/org/apache/hadoop/fs/FSMainOperationsBaseTest.java Tue Jun 18 23:22:42 2013 @@ -66,10 +66,10 @@ public abstract class FSMainOperationsBa } }; - //A test filter with returns any path containing a "b" + //A test filter with returns any path containing an "x" or "X" final private static PathFilter TEST_X_FILTER = new PathFilter() { public boolean accept(Path file) { - if(file.getName().contains("x") || file.toString().contains("X")) + if(file.getName().contains("x") || file.getName().contains("X")) return true; else return false;