[APPROVE?] DNS test fixes

Jonathan Larmour jifl@eCosCentric.com
Mon Mar 3 17:56:00 GMT 2003


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@eCosCentric.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



More information about the Ecos-patches mailing list