couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Wendall Cada (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (COUCHDB-1793) JavaScript Test Runner Fails on master
Date Sat, 11 May 2013 23:23:16 GMT

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

Wendall Cada commented on COUCHDB-1793:
---------------------------------------

Thanks for reporting this. I did not test in non-bash environments, and as such it's really
not accurate to have the script run as /bin/sh when this is really only reliable runnning
with /bin/bash. 

Can you share what environment this is? Also, is it a problem for this to be changed to /bin/bash?
                
> JavaScript Test Runner Fails on master
> --------------------------------------
>
>                 Key: COUCHDB-1793
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-1793
>             Project: CouchDB
>          Issue Type: Bug
>          Components: Test Suite
>            Reporter: Klaus Trainer
>            Assignee: Wendall Cada
>
> Due to a bashism (i.e. use of an array) in line number 100 of the JavaScript test runner
('test/javascript/run.tpl'), the tests won't run on platforms where '/bin/sh' isn't linked
e.g. to '/bin/bash'.
> Here's the error message:
> {{Running javascript tests ...}}
> {{./test/javascript/run: 100: ./test/javascript/run: Syntax error: "(" unexpected (expecting
"fi")}}
> {{make: *** [check-js] Error 2}}

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

Mime
View raw message