bug-wget
[Top][All Lists]
Advanced

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

Re: [Bug-wget] General Testsuite issue


From: Darshit Shah
Subject: Re: [Bug-wget] General Testsuite issue
Date: Fri, 17 Jan 2014 16:52:46 +0530

Hi Tim,

Yes, that is an eventuality I did not consider when writing this test. A
user configured option that may override the settings intended for the
test. Maybe we should have a --no-config option to ensure that the tests
are run on the compiled defaults only.

Having a uniform environment for tests is a must. I've attached a patch
that introduces --no-config. However this is not yet complete and ready for
merging. Most importantly, if accepted, I need to change a few comments and
edit wget.texi explaining the new option.

In case both the --config and --no-config commands are issued, the one that
appears first on the command will be considered and the other ignored.


On Fri, Jan 17, 2014 at 1:51 PM, Tim Ruehsen <address@hidden> wrote:

> Hi,
>
> I just discovered that Test--spider-r.py fails here (parallel-wget branch).
>
> The reason is 'robots=off' in ~./wgetrc.
>
> But that leads the the question, how can we prevent any user (and global
> /etc/wgetrc) settings dropping in, possibly making the tests fail.
>
> An option like --no-config could solve this issue with just a few lines of
> code.
>
> What do you think ?
>
> Tim
>
>
>


-- 
Thanking You,
Darshit Shah

Attachment: 0001-Introduce-no-config.-The-wgetrc-files-will-not-be-re.patch
Description: Text Data


reply via email to

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