This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: How to test a patch in resolv/?


On 10/06/2015 09:37 PM, Stan Shebs wrote:

>> It used to be possible to override the configured name servers by
>> directly writing to the _res structure.  This would make it possible to
>> redirect DNS queries to a custom test server (either in another thread
>> or process).  I don't know if current libresolv versions still support that.
> 
> An interesting idea, I'll check it out.

Let me know if you hit any roadblocks.  Writing libresolv tests is
something on my long-term TODO list. :-)

Florian


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]