From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by arlo.cworth.org (Postfix) with ESMTP id 7F14E6DE098B for ; Thu, 17 Aug 2017 10:54:35 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at cworth.org X-Spam-Flag: NO X-Spam-Score: -0.064 X-Spam-Level: X-Spam-Status: No, score=-0.064 tagged_above=-999 required=5 tests=[AWL=-0.103, FREEMAIL_FORGED_FROMDOMAIN=0.249, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.211, SPF_PASS=-0.001] autolearn=disabled Received: from arlo.cworth.org ([127.0.0.1]) by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Jh14S4OpaXvS for ; Thu, 17 Aug 2017 10:54:34 -0700 (PDT) Received: from mail-wr0-f182.google.com (mail-wr0-f182.google.com [209.85.128.182]) by arlo.cworth.org (Postfix) with ESMTPS id 83A666DE0C67 for ; Thu, 17 Aug 2017 10:54:27 -0700 (PDT) Received: by mail-wr0-f182.google.com with SMTP id f8so5968510wrf.3 for ; Thu, 17 Aug 2017 10:54:27 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=IIPGVEGtD9r/CCyyoKYSECNBjmiTqO1XlXnoEC2VJW0=; b=WjDdHWGXu/sDTmouUxGuaUi/KfwuskYWlt+wmpUcafNteM+bIwsDJ0CgZIelyfa9y1 gdxotZACH9RQcrTq6qZDQnT0IHac9TaDOLAePI0d9quLDKa95NFhG+igbGb2rZtpeIqC VErGtReMrv0B2+EZz6gwrYYD3QuJN5j26T07O5PKXjH7X8PBbJ1rLDPxLh+/ZD0Nzowh WMtOF5eO9oNnVKRcz0zX4zmzLSj4npVwmjg4OswGdlKZmyjp/4ZOX3475e0wDnRbVsT+ ze0gjFb2nN1YiknMRJRTnoTG8VIrUl9dYNtZH0pW7DPUKW0qLnX1HV5SLgDici6/t+1k DwVQ== X-Gm-Message-State: AHYfb5hlBzay59g3UX/sd6iI0Bd65KzEu2pZWf7S44J1w0vb0zgh0a4S uZkmBONvNyJccmNMd60= X-Received: by 10.28.213.194 with SMTP id m185mr1938326wmg.109.1502992464578; Thu, 17 Aug 2017 10:54:24 -0700 (PDT) Received: from home.thecybershadow.net ([89.28.117.31]) by smtp.gmail.com with ESMTPSA id c34sm4345025wra.80.2017.08.17.10.54.23 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 17 Aug 2017 10:54:23 -0700 (PDT) From: Vladimir Panteleev To: notmuch@notmuchmail.org Subject: [PATCH 6/7] test: Fix T350-crypto.sh on Emacs snapshots Date: Thu, 17 Aug 2017 17:51:44 +0000 Message-Id: <20170817175145.3204-7-notmuch@thecybershadow.net> X-Mailer: git-send-email 2.13.3 In-Reply-To: <20170817175145.3204-1-notmuch@thecybershadow.net> References: <20170817175145.3204-1-notmuch@thecybershadow.net> X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.23 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: Thu, 17 Aug 2017 17:54:35 -0000 The "reply to encrypted message" subtest of T350-crypto.sh was failing with Emacs snapshots because it assumed the "In-Reply-To" and "References" headers it attempts to filter out would never be line-wrapped. This apparently changed in the latest Emacs versions, which causes the test to fail when ran against them. * T350-crypto.sh: Unwrap headers before filtering them. --- test/T350-crypto.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/test/T350-crypto.sh b/test/T350-crypto.sh index 7dab39a2..69d9b160 100755 --- a/test/T350-crypto.sh +++ b/test/T350-crypto.sh @@ -394,6 +394,7 @@ test_expect_equal_json \ test_begin_subtest "reply to encrypted message" output=$(notmuch reply --decrypt subject:"test encrypted message 002" \ + | tr '\n' '|' | sed 's/|[[:space:]][[:space:]]*/ /g' | tr '|' '\n' \ | grep -v -e '^In-Reply-To:' -e '^References:') expected='From: Notmuch Test Suite Subject: Re: test encrypted message 002 -- 2.13.3