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

Reply via email to