aboutsummaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorEnji Cooper <ngie@FreeBSD.org>2014-11-16 05:11:07 +0000
committerEnji Cooper <ngie@FreeBSD.org>2014-11-16 05:11:07 +0000
commit1741e5991e58f01fce683b4635e0353bce9e3690 (patch)
treed5778f65da65cdcf1ac1b19098c8c5243e13aee9 /contrib
parentea74a0a2407bc5ddd316e4ac345a887e23c1ff74 (diff)
downloadsrc-1741e5991e58f01fce683b4635e0353bce9e3690.tar.gz
src-1741e5991e58f01fce683b4635e0353bce9e3690.zip
#ifdef out a printf on !NetBSD that causes the testcase to fail when comparing
the output from the helper program Submitted by: pho
Notes
Notes: svn path=/head/; revision=274575
Diffstat (limited to 'contrib')
-rw-r--r--contrib/netbsd-tests/lib/libpthread/h_cancel.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/contrib/netbsd-tests/lib/libpthread/h_cancel.c b/contrib/netbsd-tests/lib/libpthread/h_cancel.c
index 1077806c77f8..b7a93630bd40 100644
--- a/contrib/netbsd-tests/lib/libpthread/h_cancel.c
+++ b/contrib/netbsd-tests/lib/libpthread/h_cancel.c
@@ -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());