Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Makefile dependencies for scripts/zfs-tests.sh -c
The explicit dependencies force make to build all outputs before running the script to populate `tests/zfs-tests/bin`. Really this only needs to depend on targets in `tests/zfs-tests/include/commands.cfg` but waiting for all primary targets is more straightforward. Without this, parallel make may install symlinks before all outputs are built. This is problematic if also doing `sudo make install` as some files end up owned by root. This confuses ZTS into adding non-root test users to the root group causing tests to break. Fixes openzfs#16030 Signed-off-by: Robert Evans <[email protected]>
- Loading branch information