Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Jul 2017 19:31:51 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 220610] Expose _PATH_RESCONF as __res_conf_name for improved determinism of lib/libc/resolv
Message-ID:  <bug-220610-8@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D220610

            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@FreeBSD.org
          Reporter: ngie@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;
"""

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-220610-8>