summaryrefslogtreecommitdiffstats
path: root/tools/regression/pthread/unwind/catch_pthread_exit.cpp
diff options
context:
space:
mode:
authorjonathan <jonathan@FreeBSD.org>2011-07-08 12:16:30 +0000
committerjonathan <jonathan@FreeBSD.org>2011-07-08 12:16:30 +0000
commitf07a2b912b2fbaa99bfe57e02f3d2c72ce60ff81 (patch)
treefa59cde14529d32b89e630b31c40332129f5a74c /tools/regression/pthread/unwind/catch_pthread_exit.cpp
parentc50de82aab4efc1aae6002a965cbd56ee7928d9d (diff)
downloadFreeBSD-src-f07a2b912b2fbaa99bfe57e02f3d2c72ce60ff81.zip
FreeBSD-src-f07a2b912b2fbaa99bfe57e02f3d2c72ce60ff81.tar.gz
Clarify the meaning of a test.
Rather than using err() if either of two failure conditions fires (which can produce spurious error messages), just use errx() if the one condition that really matters fires. In practice, this single test is enough to detect the failure mode we're looking for (kqueue being inherited across fork). Approved by: mentor (rwatson), re (Capsicum blanket) Sponsored by: Google Inc
Diffstat (limited to 'tools/regression/pthread/unwind/catch_pthread_exit.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud