[Bug 220610] Expose _PATH_RESCONF as __res_conf_name for improved determinism of lib/libc/resolv
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Mon Jul 10 19:31:51 UTC 2017
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=220610
Bug ID: 220610
Summary: Expose _PATH_RESCONF as __res_conf_name for improved
determinism of lib/libc/resolv
Product: Base System
Version: CURRENT
Hardware: Any
OS: Any
Status: New
Severity: Affects Some People
Priority: ---
Component: bin
Assignee: freebsd-bugs at FreeBSD.org
Reporter: ngie at FreeBSD.org
Porting from Isilon internal bugzilla/assigning to me:
"""
I refactored the tests to try and make them more usable, but the problem is
that
there are a number of factors on the system (and outside of it) that made
things
worse.
libc's resolv functionality (and our modifications) need to be refactored in
such
a way that it's possible for us to do unittesting to the function calls to
ensure
that they're doing the right thing instead of writing (what is in effect) a
system level test in ATF/kyua (which is non-trivial/an improper use of the test
infrastructure).
I will look at implementing some of the hooks that NetBSD's testcases expect
when testing out their resolv functionality, e.g.
contrib/netbsd-tests/lib/libc/net/h_hostent.c:50 extern const char
*__res_conf_name;
"""
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list