#ifdef out a printf on !NetBSD that causes the testcase to fail when comparing

the output from the helper program

Submitted by: pho
This commit is contained in:
Enji Cooper 2014-11-16 05:11:07 +00:00
parent ea74a0a240
commit 1741e5991e
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=274575

View File

@ -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());