[
https://issues.apache.org/jira/browse/HDFS-2131?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13060738#comment-13060738
]
Daryn Sharp commented on HDFS-2131:
-----------------------------------
These tests are probably better suited to {{TestHDFSCLI}}. Although I'm not
fond of the custom framework and it's weak integration with junit, testing for
a -1 return is a feeble check since it can occur for any number of reasons.
The {{TestHDFSCLI}} tests will let you verify that the exception output is
correct. Come to think of it, I'm surprised the commands aren't failing with
exit 1... -1 is usually a usage error.
> Tests for HADOOP-7361
> ---------------------
>
> Key: HDFS-2131
> URL: https://issues.apache.org/jira/browse/HDFS-2131
> Project: Hadoop HDFS
> Issue Type: Test
> Reporter: Uma Maheswara Rao G
> Assignee: Uma Maheswara Rao G
> Attachments: HADOOP-7361-test.patch
>
>
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira