From mboxrd@z Thu Jan  1 00:00:00 1970
Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail
From: Mike Kupfer <mkupfer@alum.berkeley.edu>
Newsgroups: gmane.emacs.bugs
Subject: bug#51902: 28.0.50; [PATCH] Get mh-e tests to pass
Date: Wed, 17 Nov 2021 08:16:54 -0800
Message-ID: <15843.1637165814@alto>
References: <8735nvws3j.fsf@dick>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214";
	logging-data="12581"; mail-complaints-to="usenet@ciao.gmane.io"
Cc: Lars Ingebrigtsen <larsi@gnus.org>, dick <dick.r.chiang@gmail.com>,
 51902@debbugs.gnu.org
To: Stephen Gildea <stepheng+emacs@gildea.com>
Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Nov 17 17:18:50 2021
Return-path: <bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org>
Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org
Original-Received: from lists.gnu.org ([209.51.188.17])
	by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
	(Exim 4.92)
	(envelope-from <bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org>)
	id 1mnNe6-00036p-IY
	for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 17 Nov 2021 17:18:50 +0100
Original-Received: from localhost ([::1]:47040 helo=lists1p.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.90_1)
	(envelope-from <bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org>)
	id 1mnNe5-00028X-9I
	for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 17 Nov 2021 11:18:49 -0500
Original-Received: from eggs.gnu.org ([209.51.188.92]:55552)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <Debian-debbugs@debbugs.gnu.org>)
 id 1mnNdL-00020b-0N
 for bug-gnu-emacs@gnu.org; Wed, 17 Nov 2021 11:18:03 -0500
Original-Received: from debbugs.gnu.org ([209.51.188.43]:50297)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <Debian-debbugs@debbugs.gnu.org>)
 id 1mnNdK-0005UU-Nf
 for bug-gnu-emacs@gnu.org; Wed, 17 Nov 2021 11:18:02 -0500
Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2)
 (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1mnNdK-00059e-GL
 for bug-gnu-emacs@gnu.org; Wed, 17 Nov 2021 11:18:02 -0500
X-Loop: help-debbugs@gnu.org
Resent-From: Mike Kupfer <mkupfer@alum.berkeley.edu>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@gnu.org
Resent-Date: Wed, 17 Nov 2021 16:18:02 +0000
Resent-Message-ID: <handler.51902.B51902.163716582517910@debbugs.gnu.org>
Resent-Sender: help-debbugs@gnu.org
X-GNU-PR-Message: followup 51902
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: patch
Original-Received: via spool by 51902-submit@debbugs.gnu.org id=B51902.163716582517910
 (code B ref 51902); Wed, 17 Nov 2021 16:18:02 +0000
Original-Received: (at 51902) by debbugs.gnu.org; 17 Nov 2021 16:17:05 +0000
Original-Received: from localhost ([127.0.0.1]:33603 helo=debbugs.gnu.org)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <debbugs-submit-bounces@debbugs.gnu.org>)
 id 1mnNcO-0004ea-PM
 for submit@debbugs.gnu.org; Wed, 17 Nov 2021 11:17:05 -0500
Original-Received: from shell1.rawbw.com ([198.144.192.42]:30872 ident=root)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <mkupfer@alum.berkeley.edu>) id 1mnNcM-0004b8-Gm
 for 51902@debbugs.gnu.org; Wed, 17 Nov 2021 11:17:03 -0500
Original-Received: from alto (96-95-200-133-static.hfc.comcastbusiness.net
 [96.95.200.133]) (authenticated bits=0)
 by shell1.rawbw.com (8.15.1/8.15.1) with ESMTPSA id 1AHGGtc8068429
 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO);
 Wed, 17 Nov 2021 08:17:00 -0800 (PST)
 (envelope-from mkupfer@alum.berkeley.edu)
X-Authentication-Warning: shell1.rawbw.com: Host
 96-95-200-133-static.hfc.comcastbusiness.net [96.95.200.133] claimed to be
 alto
In-Reply-To: Your message of "Wed, 17 Nov 2021 06:46:54 -0800."
 <1258077.1637160414@tigger3.sg.gildea.net>
X-Mailer: MH-E 8.6+git; nmh 1.7.1; GNU Emacs 28.0.60
Content-ID: <15842.1637165814.1@alto>
X-BeenThere: debbugs-submit@debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
X-BeenThere: bug-gnu-emacs@gnu.org
List-Id: "Bug reports for GNU Emacs,
 the Swiss army knife of text editors" <bug-gnu-emacs.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/bug-gnu-emacs>,
 <mailto:bug-gnu-emacs-request@gnu.org?subject=unsubscribe>
List-Archive: <https://lists.gnu.org/archive/html/bug-gnu-emacs>
List-Post: <mailto:bug-gnu-emacs@gnu.org>
List-Help: <mailto:bug-gnu-emacs-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/bug-gnu-emacs>,
 <mailto:bug-gnu-emacs-request@gnu.org?subject=subscribe>
Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org
Original-Sender: "bug-gnu-emacs"
 <bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org>
Xref: news.gmane.io gmane.emacs.bugs:220216
Archived-At: <http://permalink.gmane.org/gmane.emacs.bugs/220216>

Stephen Gildea wrote:

> Mike, bug report https://debbugs.gnu.org/51902 causes me to notice that
> our fix for "+/" works only with nmh.  It fails with GNU Mailutils and
> with MH mocked out.
> 
> I can fix the mocks (and am sad I didn't think to test that before
> committing the patch).

Ah.  So that explains the test failure that Lars reported on emacs-devel
(<871r3g7cdy.fsf@gnus.org>)?

> But what about mailutils?  I think you told me that you had to get a
> bug in nmh fixed before this would work; perhaps mailutils has the same
> bug?  If so, do we need to make an exception in the test as suggested
> by this bug report: expect failure with mailutils?

The bug was in an older version of Mailutils, where it was spewing
garbage from some internal buffer.  Sergey fixed it in Mailutils 3.7,
which was released in 2019.  So I'd configure the test to expect a pass
everywhere, once the mock environment is fixed.

Also, did you catch this comment from Stefan Kangas on emacs-devel:

> I've marked these tests as unstable for now (commit fc8c976298), please
> remove that tag when you fix them.

thanks,
mike