You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Chuan Liu (JIRA)" <ji...@apache.org> on 2013/09/11 01:25:53 UTC

[jira] [Updated] (HADOOP-9948) Add a config value to CLITestHelper to skip tests on Windows

     [ https://issues.apache.org/jira/browse/HADOOP-9948?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Chuan Liu updated HADOOP-9948:
------------------------------

    Attachment: HADOOP-9948.patch

Attach a patch. Tested on Linux and Windows. The three test cases skipped on Windows still run on Linux.
                
> Add a config value to CLITestHelper to skip tests on Windows
> ------------------------------------------------------------
>
>                 Key: HADOOP-9948
>                 URL: https://issues.apache.org/jira/browse/HADOOP-9948
>             Project: Hadoop Common
>          Issue Type: Bug
>    Affects Versions: 3.0.0
>            Reporter: Chuan Liu
>            Assignee: Chuan Liu
>            Priority: Minor
>         Attachments: HADOOP-9948.patch
>
>
> We want to add a configuration to CLITestHelper so we can skip some tests on Windows. We want this feature because some test cases in TestHDFSCLI should not be tested on Windows. Or more specifically, the globbing test cases. The differences are explained in HDFS-4632. The proposed syntax looks like follows.
> {noformat}
> <test> <!-- TESTED -->
>       <description>ls: Negative test for quoted /*/* globbing </description>
>       <windows>false</windows>
> {noformat}
> When Windows set to false, we will skip running the test on Windows.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira