This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: How to test a patch in resolv/?
- From: Florian Weimer <fweimer at redhat dot com>
- To: Stan Shebs <stanshebs at google dot com>
- Cc: GNU C Library <libc-alpha at sourceware dot org>
- Date: Tue, 6 Oct 2015 22:05:33 +0200
- Subject: Re: How to test a patch in resolv/?
- Authentication-results: sourceware.org; auth=none
- References: <CA+5-Q5KH4NS8V8GPX0YeQwq59UHWSn7eimmbZ=47jhJae5oqLA at mail dot gmail dot com> <56141DBB dot 7010902 at redhat dot com> <CA+5-Q5+qJ79n6z4+pYn-nvxz01p09FQ6mGMnHvRWWK0PmbWwrg at mail dot gmail dot com>
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