]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
dtrace tests: Fix loading of the test kernel module
authorMark Johnston <markj@FreeBSD.org>
Sat, 1 Jun 2024 15:16:33 +0000 (11:16 -0400)
committerMark Johnston <markj@FreeBSD.org>
Sat, 1 Jun 2024 15:16:33 +0000 (11:16 -0400)
commitcb6b5e8ab9cfe3938855826fa3de0f58dacd364e
treeda1307254e0c48da58072ba433b5ebfe8f57b046
parent4bddff0833d3efee77a099b3ef447fbae1e63d21
dtrace tests: Fix loading of the test kernel module

The old way is racy and can cause two instances, running in parallel, to
attempt to load dtrace_test, and only one will succeed.  This caused
errors when running dtrace tests in parallel.

MFC after: 1 week
cddl/usr.sbin/dtrace/tests/tools/dtest.sh