git: 6e6a67e98652 - main - dtrace tests: Avoid hard-coding paths to required programs

From: Mark Johnston <markj_at_FreeBSD.org>
Date: Wed, 22 Jan 2025 14:21:24 UTC
The branch main has been updated by markj:

URL: https://cgit.FreeBSD.org/src/commit/?id=6e6a67e98652e1477973d031b27ce085d7f200c2

commit 6e6a67e98652e1477973d031b27ce085d7f200c2
Author:     Mark Johnston <markj@FreeBSD.org>
AuthorDate: 2025-01-22 14:20:33 +0000
Commit:     Mark Johnston <markj@FreeBSD.org>
CommitDate: 2025-01-22 14:20:33 +0000

    dtrace tests: Avoid hard-coding paths to required programs
    
    MFC after:      1 week
    Sponsored by:   Innovate UK
---
 cddl/usr.sbin/dtrace/tests/dtrace.test.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cddl/usr.sbin/dtrace/tests/dtrace.test.mk b/cddl/usr.sbin/dtrace/tests/dtrace.test.mk
index 001dc6253f82..da7c3a440be0 100644
--- a/cddl/usr.sbin/dtrace/tests/dtrace.test.mk
+++ b/cddl/usr.sbin/dtrace/tests/dtrace.test.mk
@@ -12,7 +12,7 @@ ${TESTGROUP}EXEPACKAGE=	${PACKAGE}
 
 TESTWRAPPER=	t_dtrace_contrib
 ATF_TESTS_SH+=	${TESTWRAPPER}
-TEST_METADATA.t_dtrace_contrib+= required_files="/usr/local/bin/ksh /usr/local/bin/jq /usr/local/bin/perl /usr/local/bin/xmllint"
+TEST_METADATA.t_dtrace_contrib+= required_progs="ksh jq perl xmllint"
 TEST_METADATA.t_dtrace_contrib+= required_user="root"
 
 GENTEST?=	${.CURDIR:H:H}/tools/gentest.sh