From 0464cdf0f947b41f493c66c1ebf7b19169b57fb1 Mon Sep 17 00:00:00 2001 From: David Bremner Date: Wed, 12 Mar 2014 20:01:37 +2100 Subject: [PATCH] [Patch v6 11/14] test: commit database checksum, ignore actual databases --- 1c/a37f6d943daf3e179108c9e9a505ea49fbe224 | 79 +++++++++++++++++++++++ 1 file changed, 79 insertions(+) create mode 100644 1c/a37f6d943daf3e179108c9e9a505ea49fbe224 diff --git a/1c/a37f6d943daf3e179108c9e9a505ea49fbe224 b/1c/a37f6d943daf3e179108c9e9a505ea49fbe224 new file mode 100644 index 000000000..49cd7ace9 --- /dev/null +++ b/1c/a37f6d943daf3e179108c9e9a505ea49fbe224 @@ -0,0 +1,79 @@ +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 4859F431E82 + for ; Tue, 11 Mar 2014 16:01:59 -0700 (PDT) +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 rJVBSp6CpV6w for ; + Tue, 11 Mar 2014 16:01:57 -0700 (PDT) +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 25617431FD0 + for ; Tue, 11 Mar 2014 16:01:57 -0700 (PDT) +Received: from remotemail by yantan.tethera.net with local (Exim 4.80) + (envelope-from ) + id 1WNVgK-0001uN-R5; Tue, 11 Mar 2014 20:01:56 -0300 +Received: (nullmailer pid 25861 invoked by uid 1000); Tue, 11 Mar 2014 + 23:01:46 -0000 +From: David Bremner +To: notmuch@notmuchmail.org +Subject: [Patch v6 11/14] test: commit database checksum, ignore actual + databases +Date: Tue, 11 Mar 2014 20:01:37 -0300 +Message-Id: <1394578900-25618-12-git-send-email-david@tethera.net> +X-Mailer: git-send-email 1.8.5.3 +In-Reply-To: <1394578900-25618-1-git-send-email-david@tethera.net> +References: <1394578900-25618-1-git-send-email-david@tethera.net> +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: Tue, 11 Mar 2014 23:01:59 -0000 + +The checksum file is used by the test infrastructure to verify the downloaded +test database is the one we had in mind. Note that this test is +rather strict, and the the checksum file needs to be recommitted when +the database is regenerated. + +add a pattern .gitignore to ignore the actual databases +--- + test/test-databases/.gitignore | 1 + + test/test-databases/database-v1.tar.xz.sha256 | 1 + + 2 files changed, 2 insertions(+) + create mode 100644 test/test-databases/.gitignore + create mode 100644 test/test-databases/database-v1.tar.xz.sha256 + +diff --git a/test/test-databases/.gitignore b/test/test-databases/.gitignore +new file mode 100644 +index 0000000..b5624b7 +--- /dev/null ++++ b/test/test-databases/.gitignore +@@ -0,0 +1 @@ ++*.tar.xz +diff --git a/test/test-databases/database-v1.tar.xz.sha256 b/test/test-databases/database-v1.tar.xz.sha256 +new file mode 100644 +index 0000000..2cc4f96 +--- /dev/null ++++ b/test/test-databases/database-v1.tar.xz.sha256 +@@ -0,0 +1 @@ ++4299e051b10e1fa7b33ea2862790a09ebfe96859681804e5251e130f800e69d2 database-v1.tar.xz +-- +1.8.5.3 + -- 2.26.2