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:
parent
a49dee06fb
commit
17e48139c2
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue