HomeFreeBSD

dtrace tests: Fix loading of the test kernel module

Description

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

(cherry picked from commit cb6b5e8ab9cfe3938855826fa3de0f58dacd364e)

Details

Provenance
markjAuthored on Jun 1 2024, 3:16 PM
Parents
rG6e345bea25d4: makefs/zfs: Add a helper function for adding ZAP entries
Branches
Unknown
Tags
Unknown