Return-Path: X-Original-To: apmail-couchdb-dev-archive@www.apache.org Delivered-To: apmail-couchdb-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 6E0181165C for ; Sun, 12 May 2013 17:43:16 +0000 (UTC) Received: (qmail 3816 invoked by uid 500); 12 May 2013 17:43:15 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 3785 invoked by uid 500); 12 May 2013 17:43:15 -0000 Mailing-List: contact dev-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@couchdb.apache.org Delivered-To: mailing list dev@couchdb.apache.org Received: (qmail 3776 invoked by uid 99); 12 May 2013 17:43:15 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 12 May 2013 17:43:15 +0000 Date: Sun, 12 May 2013 17:43:15 +0000 (UTC) From: "Klaus Trainer (JIRA)" To: dev@couchdb.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (COUCHDB-1793) JavaScript Test Runner Fails on master MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/COUCHDB-1793?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Klaus Trainer updated COUCHDB-1793: ----------------------------------- Attachment: 0001-Remove-unnecessary-bashism-from-test-runner.patch Here's a patch that fixes this issue. > 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 > Attachments: 0001-Remove-unnecessary-bashism-from-test-runner.patch > > > 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