Autor: Philip Hazel Data: Dla: 514 CC: exim-dev Temat: Re: [exim-dev] [Bug 514] log slow DNS queries
On Thu, 20 Nov 2008, Derrick wrote:
> I've made changes per the suggestions. I feel that in order to properly test
> this, I'd need a nameserver that I can tinker with by making it delay
> responses.
>
> Also I cannot properly test all the various ways that host lookups are done,
> since most are excluded by preprocessor statements based on the available
> functions.
>
> Any ideas for testing?
If I remember correctly (and I've now been away from Exim for over a
year, so maybe I don't :-), the test suite contains a fake "nameserver"
that can be made to delay and otherwise give non-normal responses. Grep
the Exim code for stuff about testing and take a look at the scripts and
other documentation in the test suite.