bug-mailutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Testsuite failure in 3.11


From: Sergey Poznyakoff
Subject: Re: Testsuite failure in 3.11
Date: Wed, 13 Jan 2021 16:59:40 +0200

Jordi Mallach <jordi@debian.org> ha escrit:

> Debian chroots set HOME to /nonexistent, and that makes basically all
> of imap4d test fail. I'm sure we dealt with this in the past already,
> maybe in the dejaGNU version of the testsuite?

The DejaGNU testsuite was withdrawn more than nine years ago,
on 2011-11-28 (prior to mailtils version 2.99.96).  The related
authentication code hasn't changed since 2007-12-03.  These two facts
incline me to believe that it is rather the practice of resetting
the HOME variable that should be fairly recent in Debian.

That being said, I would propose the attached patch.  Does it help
in any way?

Regards,
Sergey

diff --git a/imap4d/tests/testsuite.at b/imap4d/tests/testsuite.at
index 4d0481b..1c39c06 100644
--- a/imap4d/tests/testsuite.at
+++ b/imap4d/tests/testsuite.at
@@ -31,7 +31,9 @@ IMAP4D_DEFAULT_OPTIONS dnl

 m4_define([IMAP4D_OPTIONS],[IMAP4D_PREAUTH_OPTIONS])

-m4_define([IMAP4D_CONFIG],[make_config IMAP4D_HOMEDIR])
+m4_define([IMAP4D_CONFIG],[make_config IMAP4D_HOMEDIR
+HOME=$(pwd)
+])

 m4_define([IMAP4D_RUN],[IMAP4D_CONFIG
 m4_if([$2],[expand],

reply via email to

[Prev in Thread] Current Thread [Next in Thread]