Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Nov 2014 05:11:07 +0000 (UTC)
From:      Garrett Cooper <ngie@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r274575 - head/contrib/netbsd-tests/lib/libpthread
Message-ID:  <201411160511.sAG5B8wt057213@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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());
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201411160511.sAG5B8wt057213>