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 05DB3431FD4 for ; Tue, 3 Sep 2013 07:05:22 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: 0.201 X-Spam-Level: X-Spam-Status: No, score=0.201 tagged_above=-999 required=5 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_ENVFROM_END_DIGIT=1, FREEMAIL_FROM=0.001, 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 s9bPsmN-op2q for ; Tue, 3 Sep 2013 07:05:15 -0700 (PDT) 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 96FBF431FD5 for ; Tue, 3 Sep 2013 07:05:12 -0700 (PDT) Received: by mail-we0-f181.google.com with SMTP id p60so386428wes.26 for ; Tue, 03 Sep 2013 07:05:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=NfiV28/u1DfJ15UQIIZ3BSSY7NSNcYIkI5bAHlRlYXQ=; b=BbGWhfsOTf5vfQh2k+B1F7gMo6mx3Qlxlx1qpNkahvOlDgcd0+meffMW9shVlZegNr x+hz45ga2aSt+1Qx6Q10wZ5WR0Oxtv8lcLZ/DntLpA2gekRRHWK2OPtaKdvXxcw2frPm o9Kp0+NQ9z2D/3GeD0Jj7Y1IGIHupAr97IkRQfjhuD4u11Zofc01sInjHDv5VejVmAFe Qu1pjRYH4Q5UTvg/AtfizP8J+xbkIW0HZdKo8mMnQn08Br2oP3RRLi5PAMH53k9EHcJK 33Omo5GmSAjW02kUb/CRGhCX3pFQJ/F4tJP5WqRycjIsGENkuhuZl364stA+sU50sank aH+w== X-Received: by 10.180.39.212 with SMTP id r20mr18394207wik.13.1378217111495; Tue, 03 Sep 2013 07:05:11 -0700 (PDT) Received: from localhost (93-97-24-31.zone5.bethere.co.uk. [93.97.24.31]) by mx.google.com with ESMTPSA id bh5sm25546421wib.7.1969.12.31.16.00.00 (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Tue, 03 Sep 2013 07:05:11 -0700 (PDT) From: Mark Walters To: notmuch@notmuchmail.org Subject: [PATCH 3/4] contrib: pick: test: stash message id Date: Tue, 3 Sep 2013 15:04:59 +0100 Message-Id: <1378217100-27533-4-git-send-email-markwalters1009@gmail.com> X-Mailer: git-send-email 1.7.9.1 In-Reply-To: <1378217100-27533-1-git-send-email-markwalters1009@gmail.com> References: <1378217100-27533-1-git-send-email-markwalters1009@gmail.com> 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, 03 Sep 2013 14:05:22 -0000 This is important to test as lots of subsequent tests will fail if this fails. --- contrib/notmuch-pick/test/emacs-pick | 8 ++++++++ 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/contrib/notmuch-pick/test/emacs-pick b/contrib/notmuch-pick/test/emacs-pick index 91edcac..6834998 100755 --- a/contrib/notmuch-pick/test/emacs-pick +++ b/contrib/notmuch-pick/test/emacs-pick @@ -159,4 +159,12 @@ test_emacs '(notmuch-hello) cp OUTPUT /tmp/mjwout test_expect_equal_file OUTPUT $EXPECTED/notmuch-pick-show-window +test_begin_subtest "Stash id" +output=$(test_emacs '(add-to-list (quote load-path) "'$PICK_DIR'") + (require (quote notmuch-pick)) + (notmuch-pick "id:1258498485-sup-142@elly") + (notmuch-test-wait) + (notmuch-show-stash-message-id)') +test_expect_equal "$output" "\"Stashed: id:1258498485-sup-142@elly\"" + test_done -- 1.7.9.1