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 15407431FBF for ; Wed, 5 Mar 2014 03:48:48 -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 lgQPkxmzvNzX for ; Wed, 5 Mar 2014 03:48:40 -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 6E2F7431FBD for ; Wed, 5 Mar 2014 03:48:40 -0800 (PST) Received: from remotemail by yantan.tethera.net with local (Exim 4.80) (envelope-from ) id 1WLAJM-0003X2-H4; Wed, 05 Mar 2014 07:48:32 -0400 Received: (nullmailer pid 32640 invoked by uid 1000); Wed, 05 Mar 2014 11:48:29 -0000 From: David Bremner To: Tomi Ollila , Jani Nikula , notmuch@notmuchmail.org Subject: Re: [PATCH v2 00/13] literal folder: prefix, new path: prefix In-Reply-To: References: <87mwh8mn58.fsf@zancas.localnet> <87siqxiwlc.fsf@nikula.org> <8738ix4qeg.fsf@tethera.net> User-Agent: Notmuch/0.17 (http://notmuchmail.org) Emacs/24.3.1 (x86_64-pc-linux-gnu) Date: Wed, 05 Mar 2014 07:48:29 -0400 Message-ID: <87fvmwvpbm.fsf@zancas.localnet> MIME-Version: 1.0 Content-Type: text/plain 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: Wed, 05 Mar 2014 11:48:48 -0000 Tomi Ollila writes: > > I can contribute script with interface > > ./fetch-and-check.sh [--verify-only] destdir url sha256sum > This script is basically embedded in http://pivot.cs.unb.ca/git?p=notmuch.git;a=commitdiff;h=f93e32b11e517e160c755355de55ab465206dc62 except that I rebased away the verification in the actual test :( Something like diff --git a/test/T530-upgrade.sh b/test/T530-upgrade.sh index 3c0134f..768242d 100755 --- a/test/T530-upgrade.sh +++ b/test/T530-upgrade.sh @@ -5,6 +5,10 @@ test_description="database upgrade" dbtarball=database-v1.tar.xz +cd $TEST_DIRECTORY/test-databases +sha256sum --quiet --check ${dbtarball}.sha256 || error "checksum of database failed" +cd - >& /dev/null + tar Jxf $TEST_DIRECTORY/test-databases/${dbtarball} -C ${MAIL_DIR} --strip-component test_begin_subtest "folder: search does not work with old database version"