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 3A3B9431FBD
\r
6 for <notmuch@notmuchmail.org>; Wed, 5 Mar 2014 07:40:51 -0800 (PST)
\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 DYK2xDksSwzB for <notmuch@notmuchmail.org>;
\r
16 Wed, 5 Mar 2014 07:40:42 -0800 (PST)
\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 70E05431FAE
\r
19 for <notmuch@notmuchmail.org>; Wed, 5 Mar 2014 07:40:42 -0800 (PST)
\r
20 Received: from guru.guru-group.fi (localhost [IPv6:::1])
\r
21 by guru.guru-group.fi (Postfix) with ESMTP id 1E20C100245;
\r
22 Wed, 5 Mar 2014 17:40:34 +0200 (EET)
\r
23 From: Tomi Ollila <tomi.ollila@iki.fi>
\r
24 To: David Bremner <david@tethera.net>, Jani Nikula <jani@nikula.org>,
\r
25 notmuch@notmuchmail.org
\r
26 Subject: Re: [PATCH v2 00/13] literal folder: prefix, new path: prefix
\r
27 In-Reply-To: <87d2i0vhbi.fsf@zancas.localnet>
\r
28 References: <cover.1393105055.git.jani@nikula.org>
\r
29 <87mwh8mn58.fsf@zancas.localnet> <87siqxiwlc.fsf@nikula.org>
\r
30 <8738ix4qeg.fsf@tethera.net> <m2d2i13up9.fsf@guru.guru-group.fi>
\r
31 <87fvmwvpbm.fsf@zancas.localnet>
\r
32 <m2lhwoeqov.fsf@guru.guru-group.fi>
\r
33 <87d2i0vhbi.fsf@zancas.localnet>
\r
34 User-Agent: Notmuch/0.17+112~g4e0c1d5 (http://notmuchmail.org) Emacs/24.3.1
\r
35 (x86_64-unknown-linux-gnu)
\r
36 X-Face: HhBM'cA~<r"^Xv\KRN0P{vn'Y"Kd;zg_y3S[4)KSN~s?O\"QPoL
\r
37 $[Xv_BD:i/F$WiEWax}R(MPS`^UaptOGD`*/=@\1lKoVa9tnrg0TW?"r7aRtgk[F
\r
38 !)g;OY^,BjTbr)Np:%c_o'jj,Z
\r
39 Date: Wed, 05 Mar 2014 17:40:33 +0200
\r
40 Message-ID: <m24n3c1wni.fsf@guru.guru-group.fi>
\r
42 Content-Type: text/plain
\r
43 X-BeenThere: notmuch@notmuchmail.org
\r
44 X-Mailman-Version: 2.1.13
\r
46 List-Id: "Use and development of the notmuch mail system."
\r
47 <notmuch.notmuchmail.org>
\r
48 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
49 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
50 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
51 List-Post: <mailto:notmuch@notmuchmail.org>
\r
52 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
53 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
54 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
55 X-List-Received-Date: Wed, 05 Mar 2014 15:40:51 -0000
\r
57 On Wed, Mar 05 2014, David Bremner <david@tethera.net> wrote:
\r
59 > Tomi Ollila <tomi.ollila@iki.fi> writes:
\r
61 >> (IIRC openssl sha256 is available at least in Mac OS X, probably in other
\r
62 >> BSD:s & Solaris too)
\r
65 > OTOH sha256sum is in coreutils, so everywhere with a gnu userland has
\r
66 > it. Some might not have openssl (it's priority optional on Debian,
\r
69 Aaah these response times are a pleasure... :D
\r
71 cd $TEST_DIRECTORY/test-databases
\r
73 if hash sha256sum 2>/dev/null
\r
75 sha256sum --quiet --check ${dbtarball}.sha256 || error "checksum of database failed"
\r
77 # opportunistically try to run openssl sha256 in case sha256sum is not available
\r
78 read sha256sum_exp filename < ${dbtarball}.sha256
\r
79 sha256sum_act=`openssl sha256 "${dbtarball}" | sed 's/ .*//'`
\r
80 test "$sha256sum_exp" = "$sha256sum_act" || error "checksum of database failed"
\r