Date: Wed, 1 Mar 2017 03:31:12 +0000 (UTC) From: Ngie Cooper <ngie@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r314450 - head/contrib/netbsd-tests/lib/libc/stdlib Message-ID: <201703010331.v213VDQ7097994@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: ngie Date: Wed Mar 1 03:31:12 2017 New Revision: 314450 URL: https://svnweb.freebsd.org/changeset/base/314450 Log: Add additional __FreeBSD_version guards around the hsearch_r testcases The reasoning for this is the same as r276046: to ease MFCing the tests to ^/stable/10 . This was accidentally missed in r313439 MFC after: 1 week X-MFC with: r313439 Sponsored by: Dell EMC Isilon Modified: head/contrib/netbsd-tests/lib/libc/stdlib/t_hsearch.c Modified: head/contrib/netbsd-tests/lib/libc/stdlib/t_hsearch.c ============================================================================== --- head/contrib/netbsd-tests/lib/libc/stdlib/t_hsearch.c Wed Mar 1 02:10:40 2017 (r314449) +++ head/contrib/netbsd-tests/lib/libc/stdlib/t_hsearch.c Wed Mar 1 03:31:12 2017 (r314450) @@ -287,6 +287,7 @@ ATF_TC_BODY(hsearch_r_basic, tc) } #endif +#if defined(__FreeBSD__) && 1100027 <= __FreeBSD_version ATF_TC(hsearch_r_duplicate); ATF_TC_HEAD(hsearch_r_duplicate, tc) { @@ -394,6 +395,7 @@ ATF_TC_BODY(hsearch_r_two, tc) hdestroy_r(&t); } +#endif ATF_TP_ADD_TCS(tp) {
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201703010331.v213VDQ7097994>