[
https://issues.apache.org/jira/browse/HADOOP-7126?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12989017#comment-12989017
]
Konstantin Shvachko commented on HADOOP-7126:
---------------------------------------------
I tested it on Windows. TestDFSShell passes with this patch and fails without.
> TestDFSShell fails in trunk
> ---------------------------
>
> Key: HADOOP-7126
> URL: https://issues.apache.org/jira/browse/HADOOP-7126
> Project: Hadoop Common
> Issue Type: Bug
> Affects Versions: 0.22.0
> Environment: Windows
> Reporter: Po Cheung
> Assignee: Po Cheung
> Fix For: 0.22.0
>
> Attachments: common-7126-trunk.patch
>
>
> TestDFSShell.testFilePermissions() fails on an assert in Windows. This
> originated from HDFS-1084 but the fix is in Common.
> {noformat}
> junit.framework.ComparisonFailure: null expected:<rwxr[w----]> but
> was:<rwxr[-xr-x]>
> at junit.framework.Assert.assertEquals(Assert.java:81)
> at junit.framework.Assert.assertEquals(Assert.java:87)
> at
> org.apache.hadoop.hdfs.TestDFSShell.confirmPermissionChange(TestDFSShell.java:836)
> at org.apache.hadoop.hdfs.TestDFSShell.testChmod(TestDFSShell.java:777)
> at
> org.apache.hadoop.hdfs.TestDFSShell.testFilePermissions(TestDFSShell.java:856)
> {noformat}
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira