[
https://issues.apache.org/jira/browse/HADOOP-7126?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Po Cheung updated HADOOP-7126:
------------------------------
Attachment: common-7126-trunk.patch
Use FileUtil.makeShellPath to construct correct path on Windows
> 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.
-
You can reply to this email to add a comment to the issue online.