1 Return-Path: <fgeller@gmail.com>
\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 CC5C7431FD0
\r
6 for <notmuch@notmuchmail.org>; Wed, 25 May 2011 06:07:58 -0700 (PDT)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
11 X-Spam-Status: No, score=-0.789 tagged_above=-999 required=5
\r
12 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,
\r
13 FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, T_MIME_NO_TEXT=0.01]
\r
15 Received: from olra.theworths.org ([127.0.0.1])
\r
16 by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)
\r
17 with ESMTP id kgsgkk7SZISQ for <notmuch@notmuchmail.org>;
\r
18 Wed, 25 May 2011 06:07:58 -0700 (PDT)
\r
19 Received: from mail-ww0-f45.google.com (mail-ww0-f45.google.com
\r
20 [74.125.82.45]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client
\r
21 certificate requested) by olra.theworths.org (Postfix) with ESMTPS id
\r
22 2DCCA431FB6 for <notmuch@notmuchmail.org>; Wed, 25 May 2011 06:07:58 -0700
\r
24 Received: by wwi36 with SMTP id 36so6937118wwi.2
\r
25 for <notmuch@notmuchmail.org>; Wed, 25 May 2011 06:07:56 -0700 (PDT)
\r
26 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma;
\r
27 h=domainkey-signature:from:to:subject:user-agent:date:message-id
\r
28 :mime-version:content-type;
\r
29 bh=QzL/xZIAlWbvmxmbXSBeT30OZl6xsSbiL3QsJrgW1wA=;
\r
30 b=A76rd/WvEiBqBtkteeFyu6ThDot4sOyF8Vvh4SBEXLbCvTgIqlNrjhQ/QyyS1xd/+e
\r
31 iXOL4VRCliY6goYh9CklW+F6ECXzSOoglkqnifWLBMUUmsMulozZxEWbDb9GmyILTtHr
\r
32 JrAXajv336VN1fSZWYPMwAjTExLbv2VXbcgTU=
\r
33 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma;
\r
34 h=from:to:subject:user-agent:date:message-id:mime-version
\r
36 b=R70+7zo5f3Eg+IpmNSG0I3KIKHLRXPISk3V1v6aUoDaoP6ZCxggnBoiMSMGWAhFee4
\r
37 225HgnFnQm1RhEZ/pubhvqLyyWio9/UBj/pxfs7JHW3NQ/T5hWMRrfRudG3yQgg4anKC
\r
38 xIzj0xDjQl3PL1HBKS9vk9+thVJRuo1Yok/og=
\r
39 Received: by 10.216.142.133 with SMTP id i5mr4605174wej.43.1306328876655;
\r
40 Wed, 25 May 2011 06:07:56 -0700 (PDT)
\r
41 Received: from localhorst.example.com (brln-4dba74fb.pool.mediaWays.net
\r
43 by mx.google.com with ESMTPS id f53sm287897wes.26.2011.05.25.06.07.54
\r
44 (version=TLSv1/SSLv3 cipher=OTHER);
\r
45 Wed, 25 May 2011 06:07:55 -0700 (PDT)
\r
46 Received: by localhorst.example.com (Postfix, from userid 501)
\r
47 id D380640ED4D0; Wed, 25 May 2011 15:07:52 +0200 (CEST)
\r
48 From: Felix Geller <fgeller@gmail.com>
\r
49 To: notmuch@notmuchmail.org
\r
50 Subject: [PATCH] Change in increment_mtime for BSD compatibility of test suite
\r
51 User-Agent: Emacs/23.3.1 (x86_64-apple-darwin10.7.0)
\r
52 Date: Wed, 25 May 2011 15:07:52 +0200
\r
53 Message-ID: <m2sjs3q66v.fsf@gmail.com>
\r
55 Content-Type: multipart/signed; boundary="=-=-=";
\r
56 micalg=pgp-sha1; protocol="application/pgp-signature"
\r
57 X-BeenThere: notmuch@notmuchmail.org
\r
58 X-Mailman-Version: 2.1.13
\r
60 List-Id: "Use and development of the notmuch mail system."
\r
61 <notmuch.notmuchmail.org>
\r
62 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
63 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
64 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
65 List-Post: <mailto:notmuch@notmuchmail.org>
\r
66 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
67 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
68 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
69 X-List-Received-Date: Wed, 25 May 2011 13:07:58 -0000
\r
72 Content-Transfer-Encoding: quoted-printable
\r
74 Use `-t' option rather than `-d' which is not supported by BSD's
\r
75 touch. I'm not sure whether this is the cleanest way to do this, please
\r
76 let me know if there is a better way. There are additional changes
\r
77 (e.g., sed does not support `-r' but instead `-E') but they seem to be
\r
78 incompatible between GNU and BSD. What's the recommended way to handle
\r
85 diff --git a/test/test-lib.sh b/test/test-lib.sh
\r
86 index f536172..d2af857 100755
\r
87 =2D-- a/test/test-lib.sh
\r
88 +++ b/test/test-lib.sh
\r
89 @@ -218,9 +218,10 @@ increment_mtime_amount=3D0
\r
94 + last_mod_date=3D`date -j -f %Y%m%d%H%M%S \`stat -f %Sm -t %Y%m%d%H%M%S=
\r
96 increment_mtime_amount=3D$((increment_mtime_amount + 1))
\r
97 =2D touch -d "+${increment_mtime_amount} seconds" "$dir"
\r
98 + new_date=3D`date -j -r ${last_mod_date} -v+${increment_mtime_amount}S =
\r
100 + touch -t ${new_date} ${dir}
\r
103 # Generate a new message in the mail directory, with a unique message
\r
106 Content-Type: application/pgp-signature
\r
108 -----BEGIN PGP SIGNATURE-----
\r
109 Version: GnuPG/MacGPG2 v2.0.17 (Darwin)
\r
111 iEYEARECAAYFAk3c/ygACgkQMxgKfMb9y5YiIgCcDQAo5+0REdmVHgviQCL98682
\r
112 ba0AniihaDyaFiu3W3pGCG7o5XZPE85B
\r
114 -----END PGP SIGNATURE-----
\r