[ 
https://issues.apache.org/jira/browse/HADOOP-9037?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13497210#comment-13497210
 ] 

Kihwal Lee commented on HADOOP-9037:
------------------------------------

At line 713,
{noformat}
  if [ -n $hdfs_modules ]; then
{noformat}

{{$hdfs_modules}} was "hadoop-hdfs-project/hadoop-hdfs 
hadoop-hdfs-project/hadoop-hdfs-httpfs". Since "-n" is a unary operator, the 
{{test}} complained.
                
> Bug in test-patch.sh and precommit build process
> ------------------------------------------------
>
>                 Key: HADOOP-9037
>                 URL: https://issues.apache.org/jira/browse/HADOOP-9037
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: build
>    Affects Versions: 3.0.0
>            Reporter: Kihwal Lee
>            Priority: Critical
>
> In HDFS-4171, the precommit build failed, but it still posted +1 for every 
> category.  
> {noformat}
> ======================================================================
> ======================================================================
>     Running tests.
> ======================================================================
> ======================================================================
> /home/jenkins/jenkins-slave/workspace/PreCommit-HDFS-Build/trunk/
> dev-support/test-patch.sh: line 713: [: hadoop-hdfs-project/hadoop-hdfs:
> binary operator expected
> {noformat}

--
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

Reply via email to