On Thu, 24 Oct 2013, Christos Zoulas wrote:

On Oct 24, 12:32pm, p...@whooppee.com (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.

Julio?



-------------------------------------------------------------------------
| Paul Goyette     | PGP Key fingerprint:     | E-mail addresses:       |
| Customer Service | FA29 0E3B 35AF E8AE 6651 | paul at whooppee.com    |
| Network Engineer | 0786 F758 55DE 53BA 7731 | pgoyette at juniper.net |
| Kernel Developer |                          | pgoyette at netbsd.org  |
-------------------------------------------------------------------------

Reply via email to