HADOOP-10344. Fix TestAclCommands after merging HADOOP-10338 patch. Contributed by Chris Nauroth.

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/HDFS-4685@1568026 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Chris Nauroth 2014-02-13 20:17:00 +00:00
parent a49dee06fb
commit 17e48139c2
2 changed files with 6 additions and 0 deletions

View File

@ -187,6 +187,9 @@ public class TestAclCommands {
@Override @Override
public FileStatus getFileStatus(Path f) throws IOException { public FileStatus getFileStatus(Path f) throws IOException {
if (f.isRoot()) {
return new FileStatus(0, true, 0, 0, 0, f);
}
return null; return null;
} }

View File

@ -107,3 +107,6 @@ HDFS-4685 (Unreleased)
HADOOP-10270. getfacl does not display effective permissions of masked HADOOP-10270. getfacl does not display effective permissions of masked
entries. (cnauroth) entries. (cnauroth)
HADOOP-10344. Fix TestAclCommands after merging HADOOP-10338 patch.
(cnauroth)