This is the mail archive of the
ecos-patches@sources.redhat.com
mailing list for the eCos project.
Re: [APPROVE?] DNS test fixes
- From: Jonathan Larmour <jifl at eCosCentric dot com>
- To: Jonathan Larmour <jifl at eCosCentric dot com>
- Cc: eCos Patches List <ecos-patches at sources dot redhat dot com>
- Date: Mon, 03 Mar 2003 17:56:55 +0000
- Subject: Re: [APPROVE?] DNS test fixes
- References: <3E639194.5070205@eCosCentric.com>
Jonathan Larmour wrote:
The DNS tests use hard coded addresses that can't work anywhere outside
of the now dismantled Red Hat test farm. This is annoying for people
using the config tool to test.
So where possible we should use the info from BOOTP. This patch does
that, with an option of falling back to a hard-coded address which will
likely fail (arguably a good thing in that case).
Approved by Bart. I forgot to mention the ChangeLog:
2003-03-03 Jonathan Larmour <jifl at eCosCentric dot com>
* tests/dns1.c: Use BOOTP info where possible in preference to
(likely incorrect!) hardcoded info. Use non-Red Hat test
addresses.
* tests/dns2.c: Use non-Red Hat test addresses. And don't check
BOOTP-derived domainname as we don't know what it should be!
Jifl
--
eCosCentric http://www.eCosCentric.com/ The eCos and RedBoot experts
--[ "You can complain because roses have thorns, or you ]--
--[ can rejoice because thorns have roses." -Lincoln ]-- Opinions==mine