wininet: let automated testers force all DNS lookups to return localhost
dank at kegel.com
Fri Oct 31 06:45:58 CDT 2008
The public internet can (and does) go pear-shaped
in the middle of test runs, which means any test
that tries to access the public internet is de facto
flaky, even if it tries to protect itself by skipping
if the internet is down.
So let's provide a way for automated testers to
force all hostname resolution requests to
return the same result (say, 'localhost' or 'mytestserver').
Only include this in debugging builds.
Later we should provide a script to set up
a local test server that can handle all of
our conformance tests' requests, but for
now, just letting patchwatcher or winetest
redirect everything to localhost will let tests
fail reliably instead of randomly.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 944 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20081031/b856faa2/attachment.patch
More information about the wine-patches