NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

PR/59784 CVS commit: src/tests/lib/libpthread/dlopen



The following reply was made to PR lib/59784; it has been noted by GNATS.

From: "Taylor R Campbell" <riastradh%netbsd.org@localhost>
To: gnats-bugs%gnats.NetBSD.org@localhost
Cc: 
Subject: PR/59784 CVS commit: src/tests/lib/libpthread/dlopen
Date: Sat, 22 Nov 2025 20:05:21 +0000

 Module Name:	src
 Committed By:	riastradh
 Date:		Sat Nov 22 20:05:20 UTC 2025
 
 Modified Files:
 	src/tests/lib/libpthread/dlopen: t_dso_pthread_create.c
 
 Log Message:
 tests/lib/libpthread: Don't abuse xfail.
 
 Use a signal handler to check for SIGABRT, rather than
 atf_tc_expect_signal.
 
 xfail is for when there is a bug that we haven't fixed yet and the
 test manifests a symptom of that bug -- a list of xfails is a list of
 open bugs to be fixed.  In this case, we are verifying that
 pthread_create _correctly_ raises SIGABRT (or fails with nonzero
 return code -- both are acceptable outcomes, really), and there is no
 bug here at the moment.
 
 Prompted by (but unrelated to):
 
 PR lib/59784: dlopening and dlclosing libpthread is broken
 
 
 To generate a diff of this commit:
 cvs rdiff -u -r1.1 -r1.2 \
     src/tests/lib/libpthread/dlopen/t_dso_pthread_create.c
 
 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.
 


Home | Main Index | Thread Index | Old Index