svn commit: r314450 - head/contrib/netbsd-tests/lib/libc/stdlib

Ngie Cooper ngie at FreeBSD.org
Wed Mar 1 03:31:14 UTC 2017


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)
 {


More information about the svn-src-head mailing list