From: David Bremner Date: Sun, 8 Dec 2013 15:52:22 +0000 (+0800) Subject: Give test messages unique timestamps X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=0da46a3633a32af2c67753dd837c89f7c5240bc2;p=notmuch-archives.git Give test messages unique timestamps --- diff --git a/5c/120b8e280f26c116db1647cc25d5f4f0935ab2 b/5c/120b8e280f26c116db1647cc25d5f4f0935ab2 new file mode 100644 index 000000000..1c84fc21d --- /dev/null +++ b/5c/120b8e280f26c116db1647cc25d5f4f0935ab2 @@ -0,0 +1,66 @@ +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 E1220431FDC + for ; Sun, 8 Dec 2013 07:52:51 -0800 (PST) +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 6c+cdwrl7hpU for ; + Sun, 8 Dec 2013 07:52:45 -0800 (PST) +Received: from yantan.tethera.net (yantan.tethera.net [199.188.72.155]) + (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) + (No client certificate requested) + by olra.theworths.org (Postfix) with ESMTPS id 61F4B431FCB + for ; Sun, 8 Dec 2013 07:52:45 -0800 (PST) +Received: from remotemail by yantan.tethera.net with local (Exim 4.80) + (envelope-from ) id 1Vpget-0006A5-VI + for notmuch@notmuchmail.org; Sun, 08 Dec 2013 11:52:39 -0400 +Received: (nullmailer pid 22775 invoked by uid 1000); Sun, 08 Dec 2013 + 15:52:31 -0000 +From: David Bremner +To: notmuch@notmuchmail.org +Subject: Give test messages unique timestamps +Date: Sun, 8 Dec 2013 23:52:22 +0800 +Message-Id: <1386517946-22054-1-git-send-email-david@tethera.net> +X-Mailer: git-send-email 1.8.4.3 +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: Sun, 08 Dec 2013 15:52:52 -0000 + +It turns out that having all messages with the same timestamp leads to +some nondeterministic behaviour of the test suite (see e.g.https://buildd.debian.org/status/fetch.php?pkg=notmuch&arch=i386&ver=0.17%7Erc3-1&stamp=1386412394) + +Decreasing timestamps are chosen to reduce the number of changes +needed to the test suite. The first three patches are independent of +this choice. + + + test/emacs | 12 +++++++----- + test/emacs-show | 10 ++++++---- + test/encoding | 8 ++++---- + test/excludes | 4 ++-- + test/maildir-sync | 15 +++++---------- + test/missing-headers | 8 +++++--- + test/multipart | 2 +- + test/raw | 8 ++++---- + test/test-lib.sh | 15 ++++++++++++--- + 9 files changed, 46 insertions(+), 36 deletions(-) + +