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 1855C431FBF for ; Mon, 20 May 2013 04:10:45 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: 0 X-Spam-Level: X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none] 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 kY-tGlOl6No0 for ; Mon, 20 May 2013 04:10:36 -0700 (PDT) Received: from guru.guru-group.fi (guru.guru-group.fi [46.183.73.34]) by olra.theworths.org (Postfix) with ESMTP id B37E4431FBD for ; Mon, 20 May 2013 04:10:36 -0700 (PDT) Received: from guru.guru-group.fi (localhost [IPv6:::1]) by guru.guru-group.fi (Postfix) with ESMTP id B0AB71002C3; Mon, 20 May 2013 14:10:32 +0300 (EEST) From: Tomi Ollila To: Vladimir Marek , David Bremner Subject: Re: Re: Solaris support - missing or incompatible functions In-Reply-To: <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> <20130520094830.GL17166@vi64-x3-2e-prg06.cz.oracle.com> User-Agent: Notmuch/0.15.2+99~g7e455bc (http://notmuchmail.org) Emacs/24.3.1 (x86_64-unknown-linux-gnu) X-Face: HhBM'cA~ MIME-Version: 1.0 Content-Type: text/plain 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 11:10:45 -0000 On Mon, May 20 2013, Vladimir Marek wrote: >> >> 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'). That must be some setting in (your?) bash: $ sh -c 'echo '\''foo\nbar'\''' foo bar $ bash -c 'echo '\''foo\nbar'\''' foo\nbar $ dash -c 'echo '\''foo\nbar'\''' foo bar ... after a bit digging ... $ bash -c 'shopt -s xpg_echo; echo '\''foo\nbar'\''' foo bar $ bash -c 'shopt -u xpg_echo; echo '\''foo\nbar'\''' foo\nbar you could try adding shopt -u xpg_echo into test-lib.sh Tomi