1 Return-Path: <tomi.ollila@iki.fi>
\r
2 X-Original-To: notmuch@notmuchmail.org
\r
3 Delivered-To: notmuch@notmuchmail.org
\r
4 Received: from localhost (localhost [127.0.0.1])
\r
5 by olra.theworths.org (Postfix) with ESMTP id 1855C431FBF
\r
6 for <notmuch@notmuchmail.org>; Mon, 20 May 2013 04:10:45 -0700 (PDT)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
11 X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none]
\r
13 Received: from olra.theworths.org ([127.0.0.1])
\r
14 by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)
\r
15 with ESMTP id kY-tGlOl6No0 for <notmuch@notmuchmail.org>;
\r
16 Mon, 20 May 2013 04:10:36 -0700 (PDT)
\r
17 Received: from guru.guru-group.fi (guru.guru-group.fi [46.183.73.34])
\r
18 by olra.theworths.org (Postfix) with ESMTP id B37E4431FBD
\r
19 for <notmuch@notmuchmail.org>; Mon, 20 May 2013 04:10:36 -0700 (PDT)
\r
20 Received: from guru.guru-group.fi (localhost [IPv6:::1])
\r
21 by guru.guru-group.fi (Postfix) with ESMTP id B0AB71002C3;
\r
22 Mon, 20 May 2013 14:10:32 +0300 (EEST)
\r
23 From: Tomi Ollila <tomi.ollila@iki.fi>
\r
24 To: Vladimir Marek <Vladimir.Marek@Oracle.COM>,
\r
25 David Bremner <david@tethera.net>
\r
26 Subject: Re: Re: Solaris support - missing or incompatible functions
\r
27 In-Reply-To: <20130520094830.GL17166@vi64-x3-2e-prg06.cz.oracle.com>
\r
28 References: <1367853362-11846-1-git-send-email-Vladimir.Marek@oracle.com>
\r
29 <87ehdc9dbh.fsf@nikula.org>
\r
30 <20130512202145.GA2047@vi64-x3-2e-prg06.cz.oracle.com>
\r
31 <87bo8g9bbi.fsf@nikula.org>
\r
32 <20130513050530.GA9899@vi64-x3-2e-prg06.cz.oracle.com>
\r
33 <87obc8ctng.fsf@zancas.localnet>
\r
34 <20130520094830.GL17166@vi64-x3-2e-prg06.cz.oracle.com>
\r
35 User-Agent: Notmuch/0.15.2+99~g7e455bc (http://notmuchmail.org) Emacs/24.3.1
\r
36 (x86_64-unknown-linux-gnu)
\r
37 X-Face: HhBM'cA~<r"^Xv\KRN0P{vn'Y"Kd;zg_y3S[4)KSN~s?O\"QPoL
\r
38 $[Xv_BD:i/F$WiEWax}R(MPS`^UaptOGD`*/=@\1lKoVa9tnrg0TW?"r7aRtgk[F
\r
39 !)g;OY^,BjTbr)Np:%c_o'jj,Z
\r
40 Date: Mon, 20 May 2013 14:10:32 +0300
\r
41 Message-ID: <m2bo85q53r.fsf@guru.guru-group.fi>
\r
43 Content-Type: text/plain
\r
44 Cc: notmuch@notmuchmail.org
\r
45 X-BeenThere: notmuch@notmuchmail.org
\r
46 X-Mailman-Version: 2.1.13
\r
48 List-Id: "Use and development of the notmuch mail system."
\r
49 <notmuch.notmuchmail.org>
\r
50 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
51 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
52 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
53 List-Post: <mailto:notmuch@notmuchmail.org>
\r
54 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
55 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
56 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
57 X-List-Received-Date: Mon, 20 May 2013 11:10:45 -0000
\r
59 On Mon, May 20 2013, Vladimir Marek <Vladimir.Marek@Oracle.COM> wrote:
\r
61 >> >> There may be some prerequisites to running tests that you're missing,
\r
62 >> >> and the test setup fails to tell you about. A pastebin of the 'make
\r
63 >> >> test' output might be helpful.
\r
65 >> > Ok, in that case please let me take a look at the tests first.
\r
68 >> For what it's worth, I can confirm no test failures for me either on
\r
69 >> linux (Debian wheezy).
\r
71 > Thank you for looking into that. I'm still not done with fixing the test
\r
72 > suite on Solaris, but form ~70 broken tests I'm at 28. Mostly it's
\r
73 > because Solaris is trying to be posix correct while Linux does not.
\r
75 > There was one surprise though:
\r
80 > prints two lines on Solaris bug only one line on Linux ('\n' is not
\r
81 > interpreted). That breaks most of json tests as they contain '\n').
\r
83 That must be some setting in (your?) bash:
\r
85 $ sh -c 'echo '\''foo\nbar'\'''
\r
89 $ bash -c 'echo '\''foo\nbar'\'''
\r
92 $ dash -c 'echo '\''foo\nbar'\'''
\r
96 ... after a bit digging ...
\r
98 $ bash -c 'shopt -s xpg_echo; echo '\''foo\nbar'\'''
\r
102 $ bash -c 'shopt -u xpg_echo; echo '\''foo\nbar'\'''
\r
106 you could try adding shopt -u xpg_echo into test-lib.sh
\r