From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id 96F0A431FC0 for ; Sun, 19 Feb 2012 12:50:32 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -0.7 X-Spam-Level: X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5 tests=[RCVD_IN_DNSWL_LOW=-0.7] 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 s0zta6a6YSp3 for ; Sun, 19 Feb 2012 12:50:31 -0800 (PST) Received: from mail-we0-f181.google.com (mail-we0-f181.google.com [74.125.82.181]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by olra.theworths.org (Postfix) with ESMTPS id 68053431FC2 for ; Sun, 19 Feb 2012 12:50:28 -0800 (PST) Received: by mail-we0-f181.google.com with SMTP id p13so3517623wer.26 for ; Sun, 19 Feb 2012 12:50:28 -0800 (PST) Received-SPF: pass (google.com: domain of pieter@praet.org designates 10.180.85.105 as permitted sender) client-ip=10.180.85.105; Authentication-Results: mr.google.com; spf=pass (google.com: domain of pieter@praet.org designates 10.180.85.105 as permitted sender) smtp.mail=pieter@praet.org Received: from mr.google.com ([10.180.85.105]) by 10.180.85.105 with SMTP id g9mr13206504wiz.12.1329684628068 (num_hops = 1); Sun, 19 Feb 2012 12:50:28 -0800 (PST) MIME-Version: 1.0 Received: by 10.180.85.105 with SMTP id g9mr11104613wiz.12.1329684628010; Sun, 19 Feb 2012 12:50:28 -0800 (PST) Received: from localhost (104.218-242-81.adsl-dyn.isp.belgacom.be. [81.242.218.104]) by mx.google.com with ESMTPS id dr5sm29363672wib.0.2012.02.19.12.50.27 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 19 Feb 2012 12:50:27 -0800 (PST) From: Pieter Praet To: David Bremner , Tomi Ollila Subject: [PATCH 5/6] test-lib.sh: pass 'NOTMUCH_NEW's args down to 'notmuch new' Date: Sun, 19 Feb 2012 21:47:55 +0100 Message-Id: <1329684476-9596-6-git-send-email-pieter@praet.org> X-Mailer: git-send-email 1.7.8.1 In-Reply-To: <1329684476-9596-1-git-send-email-pieter@praet.org> References: <8739a93beq.fsf@zancas.localnet> <1329684476-9596-1-git-send-email-pieter@praet.org> X-Gm-Message-State: ALoCoQlCqn0zjPvEyOIlzYktsxFdPXEIBDE2RjBVIvRNgvywBCVZ+m/Ylr9NItgPB8knOU3BB1Nv Cc: Notmuch Mail 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, 19 Feb 2012 20:50:32 -0000 Obviates the need to create a 'NOTMUCH_NEW' clone which runs 'notmuch new --debug'. This will be used in a later patch. Doesn't cause any issues for other tests. --- test/test-lib.sh | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/test/test-lib.sh b/test/test-lib.sh index 0174e93..ade7000 100644 --- a/test/test-lib.sh +++ b/test/test-lib.sh @@ -534,7 +534,7 @@ test_emacs_expect_t () { NOTMUCH_NEW () { - notmuch new | grep -v -E -e '^Processed [0-9]*( total)? file|Found [0-9]* total file' + notmuch new "${@}" | grep -v -E -e '^Processed [0-9]*( total)? file|Found [0-9]* total file' } notmuch_search_sanitize () -- 1.7.8.1