Re: [PATCH] test: Set fixed time zone
authorCarl Worth <cworth@cworth.org>
Fri, 23 Apr 2010 20:30:27 +0000 (13:30 +1700)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:36:51 +0000 (09:36 -0800)
8b/90482e33a7fecbdb1b37d0fc5b6f1ca08101d6 [new file with mode: 0644]

diff --git a/8b/90482e33a7fecbdb1b37d0fc5b6f1ca08101d6 b/8b/90482e33a7fecbdb1b37d0fc5b6f1ca08101d6
new file mode 100644 (file)
index 0000000..ef2643c
--- /dev/null
@@ -0,0 +1,79 @@
+Return-Path: <cworth@cworth.org>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+       by olra.theworths.org (Postfix) with ESMTP id 648F94196F3\r
+       for <notmuch@notmuchmail.org>; Fri, 23 Apr 2010 13:30:28 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -2.89\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-2.89 tagged_above=-999 required=5\r
+       tests=[ALL_TRUSTED=-1, BAYES_00=-1.9, T_MIME_NO_TEXT=0.01]\r
+       autolearn=ham\r
+Received: from olra.theworths.org ([127.0.0.1])\r
+       by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
+       with ESMTP id KihXs5JwBj3z; Fri, 23 Apr 2010 13:30:27 -0700 (PDT)\r
+Received: from yoom.home.cworth.org (localhost [127.0.0.1])\r
+       by olra.theworths.org (Postfix) with ESMTP id ACBCC431FC1;\r
+       Fri, 23 Apr 2010 13:30:27 -0700 (PDT)\r
+Received: by yoom.home.cworth.org (Postfix, from userid 1000)\r
+       id 55193568DE4; Fri, 23 Apr 2010 13:30:27 -0700 (PDT)\r
+From: Carl Worth <cworth@cworth.org>\r
+To: Michal Sojka <sojkam1@fel.cvut.cz>, notmuch@notmuchmail.org\r
+Subject: Re: [PATCH] test: Set fixed time zone\r
+In-Reply-To: <1272008205-22432-1-git-send-email-sojkam1@fel.cvut.cz>\r
+References: <1272008205-22432-1-git-send-email-sojkam1@fel.cvut.cz>\r
+User-Agent: Notmuch/0.2-164-g57926bc (http://notmuchmail.org) Emacs/23.1.1\r
+       (i486-pc-linux-gnu)\r
+Date: Fri, 23 Apr 2010 13:30:27 -0700\r
+Message-ID: <8739yl6hek.fsf@yoom.home.cworth.org>\r
+MIME-Version: 1.0\r
+Content-Type: multipart/signed; boundary="=-=-=";\r
+       micalg=pgp-sha1; protocol="application/pgp-signature"\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.13\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+       <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Fri, 23 Apr 2010 20:30:28 -0000\r
+\r
+--=-=-=\r
+\r
+On Fri, 23 Apr 2010 09:36:45 +0200, Michal Sojka <sojkam1@fel.cvut.cz> wrote:\r
+> When the test suite is run in a different time zone that where Carl\r
+> lives, some tests may fail depending on the time when the test suite is\r
+> run. For example, just now I get:\r
+...\r
+> By setting a fixed time zone in the test script, these problems should\r
+> be eliminated.\r
+\r
+Sorry about leaking that part of my environment into the codified test\r
+suite.\r
+\r
+I've pushed this fix for now, (though please follow up with some of the\r
+text from the commit message as a comment next to that assignment in the\r
+test-suite script which otherwise seems a bit out-of-place).\r
+\r
+Thanks,\r
+\r
+-Carl\r
+\r
+--=-=-=\r
+Content-Type: application/pgp-signature\r
+\r
+-----BEGIN PGP SIGNATURE-----\r
+Version: GnuPG v1.4.10 (GNU/Linux)\r
+\r
+iD8DBQFL0gNj6JDdNq8qSWgRAn43AJ48Ebvh3pc1FVZKMYCuZvB7kKUSWwCeMfWu\r
+OZfR4kQpcBAig8DsS0RbOuA=\r
+=hduI\r
+-----END PGP SIGNATURE-----\r
+--=-=-=--\r