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)
 {
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to