bug-wget
[Top][All Lists]
Advanced

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

Re: [Bug-wget] wget 1.19.2 fails on Test-metalink-http.py and Test-metal


From: Arkadiusz Miśkiewicz
Subject: Re: [Bug-wget] wget 1.19.2 fails on Test-metalink-http.py and Test-metalink-http-quoted.py
Date: Mon, 30 Oct 2017 12:49:43 +0100
User-agent: KMail/1.13.7 (Linux/4.13.10; KDE/4.14.37; x86_64; ; )

On Monday 30 of October 2017, Tim Rühsen wrote:
> On 10/29/2017 09:39 PM, Arkadiusz Miśkiewicz wrote:
> > On Sunday 29 of October 2017, Tim Rühsen wrote:
> >> On Sonntag, 29. Oktober 2017 21:00:35 CET Arkadiusz Miśkiewicz wrote:
> >>> On Sunday 29 of October 2017, Tim Rühsen wrote:
> >>>> On Sonntag, 29. Oktober 2017 13:45:53 CET Arkadiusz Miśkiewicz wrote:
> >>>>> Hi.
> >>>>> 
> >>>>> Test suite for wget fails here on Test-metalink-http.py and
> >>>>> Test-metalink- http-quoted.py
> >>>>> 
> >>>>> test-suite.log attached.
> >>>> 
> >>>> Could you please also send us the file 'config.log' ? That shows your
> >>>> configuration - I would like to reproduce that issue.
> >>> 
> >>> Attached.
> >> 
> >> I meant config.log, you attached config.h.
> 
> Looks pretty identical to mine.
> 
> That made me looking a bit deeper into the original .log file, where you
> can see that python file name structure dump. Well, this is that
> additional file found in the temp. test directory. The test(s) expect
> certain file and their correct contents after running... with those two
> tests we see an additional (unexpected) file named '.gnupg/dirmngr.conf'.
> 
> My guess is that this is created by the use of gpgme which calls gnupg
> functions. And it has something to do with dirmngr configuration.
> Please have a look at your configuration.

Thanks.

Added patch below (locally in my wget build) to avoid dependency on some 
specific
gnupg/dirmngr configuration. It fixes both tests for me.

--- wget-1.19.2/testenv/conf/expected_files.py.org      2017-10-30 
12:36:46.911716601 +0100
+++ wget-1.19.2/testenv/conf/expected_files.py  2017-10-30 12:41:03.358656484 
+0100
@@ -24,9 +24,9 @@ class ExpectedFiles:
         snapshot = {}
         for parent, dirs, files in os.walk('.'):
             for name in files:
-                # pubring.kbx will be created by libgpgme if $HOME doesn't 
contain the .gnupg directory.
+                # pubring.kbx, dirmngr.conf, gpg.conf can be created by 
libgpgme if $HOME doesn't contain the .gnupg directory.
                                         # setting $HOME to CWD (in 
base_test.py) breaks two Metalink tests, so we skip this file here.
-                if name == 'pubring.kbx':
+                if name in [ 'pubring.kbx', 'dirmngr.conf', 'gpg.conf' ]:
                     continue
 
                 f = {'content': ''}

> 
> 
> With Best Regards, Tim


-- 
Arkadiusz Miśkiewicz, arekm / ( maven.pl | pld-linux.org )



reply via email to

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