From 68829928f35ab60bab78fe0975f9ea4d9d7ed01e Mon Sep 17 00:00:00 2001 From: Vladimir Marek Date: Mon, 20 May 2013 11:48:30 +0200 Subject: [PATCH] Re: Re: Solaris support - missing or incompatible functions --- f1/b12b1fc5cfe6b138a36742e30402b60b45da4c | 96 +++++++++++++++++++++++ 1 file changed, 96 insertions(+) create mode 100644 f1/b12b1fc5cfe6b138a36742e30402b60b45da4c diff --git a/f1/b12b1fc5cfe6b138a36742e30402b60b45da4c b/f1/b12b1fc5cfe6b138a36742e30402b60b45da4c new file mode 100644 index 000000000..fa44acef1 --- /dev/null +++ b/f1/b12b1fc5cfe6b138a36742e30402b60b45da4c @@ -0,0 +1,96 @@ +Return-Path: +X-Original-To: notmuch@notmuchmail.org +Delivered-To: notmuch@notmuchmail.org +Received: from localhost (localhost [127.0.0.1]) + by olra.theworths.org (Postfix) with ESMTP id 8A463431FBD + for ; Mon, 20 May 2013 02:48:48 -0700 (PDT) +X-Virus-Scanned: Debian amavisd-new at olra.theworths.org +X-Spam-Flag: NO +X-Spam-Score: -2.299 +X-Spam-Level: +X-Spam-Status: No, score=-2.299 tagged_above=-999 required=5 + tests=[RCVD_IN_DNSWL_MED=-2.3, UNPARSEABLE_RELAY=0.001] + autolearn=disabled +Received: from olra.theworths.org ([127.0.0.1]) + by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) + with ESMTP id KYCaUbUR4ShC for ; + Mon, 20 May 2013 02:48:41 -0700 (PDT) +Received: from aserp1040.oracle.com (aserp1040.oracle.com [141.146.126.69]) + (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) + (No client certificate requested) + by olra.theworths.org (Postfix) with ESMTPS id 07772431FBC + for ; Mon, 20 May 2013 02:48:40 -0700 (PDT) +Received: from acsinet21.oracle.com (acsinet21.oracle.com [141.146.126.237]) + by aserp1040.oracle.com (Sentrion-MTA-4.3.1/Sentrion-MTA-4.3.1) with + ESMTP id r4K9marm026882 + (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); + Mon, 20 May 2013 09:48:37 GMT +Received: from userz7022.oracle.com (userz7022.oracle.com [156.151.31.86]) + by acsinet21.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id + r4K9mXvG007692 + (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); + Mon, 20 May 2013 09:48:34 GMT +Received: from abhmt114.oracle.com (abhmt114.oracle.com [141.146.116.66]) + by userz7022.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id + r4K9mXoW014649; Mon, 20 May 2013 09:48:33 GMT +Received: from vi64-x3-2e-prg06.cz.oracle.com (/10.163.102.127) + by default (Oracle Beehive Gateway v4.0) + with ESMTP ; Mon, 20 May 2013 02:48:32 -0700 +Date: Mon, 20 May 2013 11:48:30 +0200 +From: Vladimir Marek +To: David Bremner +Subject: Re: Re: Solaris support - missing or incompatible functions +Message-ID: <20130520094830.GL17166@vi64-x3-2e-prg06.cz.oracle.com> +References: <1367853362-11846-1-git-send-email-Vladimir.Marek@oracle.com> + <87ehdc9dbh.fsf@nikula.org> + <20130512202145.GA2047@vi64-x3-2e-prg06.cz.oracle.com> + <87bo8g9bbi.fsf@nikula.org> + <20130513050530.GA9899@vi64-x3-2e-prg06.cz.oracle.com> + <87obc8ctng.fsf@zancas.localnet> +MIME-Version: 1.0 +Content-Type: text/plain; charset=utf-8 +Content-Disposition: inline +In-Reply-To: <87obc8ctng.fsf@zancas.localnet> +User-Agent: Mutt/ (2012-12-30) +X-Source-IP: acsinet21.oracle.com [141.146.126.237] +Cc: notmuch@notmuchmail.org +X-BeenThere: notmuch@notmuchmail.org +X-Mailman-Version: 2.1.13 +Precedence: list +List-Id: "Use and development of the notmuch mail system." + +List-Unsubscribe: , + +List-Archive: +List-Post: +List-Help: +List-Subscribe: , + +X-List-Received-Date: Mon, 20 May 2013 09:48:48 -0000 + +> >> There may be some prerequisites to running tests that you're missing, +> >> and the test setup fails to tell you about. A pastebin of the 'make +> >> test' output might be helpful. +> > +> > Ok, in that case please let me take a look at the tests first. +> > +> +> For what it's worth, I can confirm no test failures for me either on +> linux (Debian wheezy). + +Thank you for looking into that. I'm still not done with fixing the test +suite on Solaris, but form ~70 broken tests I'm at 28. Mostly it's +because Solaris is trying to be posix correct while Linux does not. + +There was one surprise though: + +A='12\n34' +echo $A + +prints two lines on Solaris bug only one line on Linux ('\n' is not +interpreted). That breaks most of json tests as they contain '\n'). + +Anyway once I'm done I'll have another patch. + +-- + Vlad -- 2.26.2