On Thu, Oct 24, 2013 at 01:24:34PM -0700, Paul Goyette wrote: > >-- Subject: Re: CVS commit: src/tests/lib/libc/net > > > >| Maybe run ifconfig and see if there are any interfaces, other than lo0, > >| in UP state. If not, then the test case can return a skip status. > > > >I think that it should be a builtin test feature that can be queried. > > Yes, that would make sense. Similar to requiring that certain > programs exist (via the settable meta-data variable require.progs), > we should be able to require that networking be active.
Not just networking, but networking with an open link to the internet. I'm not sure if there's going to be anything where that distinction will matter, but there might be. In some sense I'd rather these tests ran by setting up two VMs (rumpy or otherwise), one with bind and one with the resolver. Among other things it would be more likely to produce consistent test results. -- David A. Holland dholl...@netbsd.org