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

Hans Leidekker hans at codeweavers.com
Fri Oct 31 08:15:43 CDT 2008


On Friday 31 October 2008 13:39:36 Dan Kegel wrote:
> 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?

Yes, I think this could use a bit of standardization. Perhaps
we could have a scheme like this:

 http.test.winehq.org
 ftp.test.winehq.org
 ldap.test.winehq.org
 pop3.test.winehq.org
 ...

And mandate that networked tests use those. Then you would
have a predictable list of hostnames to redirect.

 -Hans



More information about the wine-devel mailing list