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@FreeBSD.org
          Reporter: n...@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.
_______________________________________________
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"

Reply via email to