[ https://issues.apache.org/jira/browse/HADOOP-5080?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12702583#action_12702583 ]
Ravi Phulari commented on HADOOP-5080: -------------------------------------- -1 Testcase for version fails on GIT because testcase assumes version based on Subversion . Version testcase needs to be compatible with both git and subversion source . {code:xml} <!-- Test for Version --> + <test> <!-- TESTED --> + <description>version: display the version of current hadoop</description> + <test-commands> + <version-command>NAMENODE</version-command> + </test-commands> + <cleanup-commands> + <!-- No cleanup --> + </cleanup-commands> + <comparators> + <comparator> + <type>RegexpComparator</type> + <expected-output>^[Hh]adoop [0-9a-zA-Z\.\-_]+$</expected-output> + </comparator> + <comparator> + <type>RegexpComparator</type> + <expected-output>^Subversion [a-zA-Z\+]+:\/\/*/+.* -r [0-9]+$</expected-output> + </comparator> + <comparator> + <type>RegexpComparator</type> + <expected-output>^Compiled( )*by( )*[a-zA-Z0-9\.]+( )*on( )*[a-zA-Z]+( )*[a-zA-Z]+( )*[0-9]+( )*[0-9]+:[0-9]+:[0-9]+( )*[A-Z\-\+\:0-9]+( )*[0-9]+</expected-output> + </comparator> + </comparators> + </test> {code} Please verify your patch against git and svn Hadoop source. -- Thanks, > Update TestCLI and split the test as HDFS,MR and core > ----------------------------------------------------- > > Key: HADOOP-5080 > URL: https://issues.apache.org/jira/browse/HADOOP-5080 > Project: Hadoop Core > Issue Type: Test > Components: test > Affects Versions: 0.20.0 > Reporter: Ramya R > Priority: Minor > Fix For: 0.21.0 > > Attachments: Hadoop-5080.patch, Hadoop-5080new.patch, > Hadoop-5080New.patch, Hadoop-5080Updated.patch, hadoop-5080v1.patch, > hadoop5080.patch, patch5080-v1.txt, TEST-org.apache.hadoop.cli.TestCLI.txt, > TestCLI.doc > > > Currently TestCLI contains few of the dfs commands and verifies some of the > error messages for quota and refreshServiceAcl.. Here is a proposal to add > additional test cases to TestCLI to cover an exhaustive list of Hadoop > commands. Here is a list of action items for the same: > 1) Complete the test cases for dfs commands which are not yet automated such > as count, chmod, chown, chgrp etc > 2) Verify help messages in fs, dfsadmin, mradmin > 3) Add other Hadoop commands such as archives, dfsadmin, balancer, job, > queue, version, jar, distcp, daemonlog etc to the command line test. > 4) Also, this test needs to be broken up as MR, HDFS, Core -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.