svn commit: r274575 - head/contrib/netbsd-tests/lib/libpthread

Garrett Cooper ngie at FreeBSD.org
Sun Nov 16 05:11:08 UTC 2014


Author: ngie
Date: Sun Nov 16 05:11:07 2014
New Revision: 274575
URL: https://svnweb.freebsd.org/changeset/base/274575

Log:
  #ifdef out a printf on !NetBSD that causes the testcase to fail when comparing
  the output from the helper program
  
  Submitted by: pho

Modified:
  head/contrib/netbsd-tests/lib/libpthread/h_cancel.c

Modified: head/contrib/netbsd-tests/lib/libpthread/h_cancel.c
==============================================================================
--- head/contrib/netbsd-tests/lib/libpthread/h_cancel.c	Sun Nov 16 05:09:23 2014	(r274574)
+++ head/contrib/netbsd-tests/lib/libpthread/h_cancel.c	Sun Nov 16 05:11:07 2014	(r274575)
@@ -42,7 +42,9 @@ main(void)
 	char str1[] = "You should see this.\n";
 	char str2[] = "You should not see this.\n";
 
+#ifdef __NetBSD__
 	printf("Cancellation test: Self-cancellation and disabling.\n");
+#endif
 
 	pthread_cancel(pthread_self());
 


More information about the svn-src-head mailing list