wininet: let automated testers force all DNS lookups to return localhost

Dan Kegel dank at kegel.com
Fri Oct 31 07:39:36 CDT 2008


On Fri, Oct 31, 2008 at 5:32 AM, Hans Leidekker <hans at codeweavers.com> wrote:
> What happened to your /etc/hosts proposal? It has the
> advantage that we don't need changes to Wine source code.

But the disadvantage that we need to know
which servers the test code is going to look up.
I guess I should change my patch to log the actual
name being looked up, then we can get a list.
Do we have any sort of policy about which hostnames
can be used during tests?

> You would need to duplicate this code in every dll that
> does networking, if possible. I don't think it will work
> for wldap32, where there is no lookup call to hook into.

That's ok, I'd happily duplicate it.
- Dan



More information about the wine-devel mailing list