git: 3775ddcf5a12 - main - tests/sys/netgraph: Tell kyua that perl is required

Alex Richardson arichardson at FreeBSD.org
Tue Feb 23 17:44:01 UTC 2021


The branch main has been updated by arichardson:

URL: https://cgit.FreeBSD.org/src/commit/?id=3775ddcf5a12c8e23970e94b7b165bf23c92aeba

commit 3775ddcf5a12c8e23970e94b7b165bf23c92aeba
Author:     Alex Richardson <arichardson at FreeBSD.org>
AuthorDate: 2021-02-23 17:02:31 +0000
Commit:     Alex Richardson <arichardson at FreeBSD.org>
CommitDate: 2021-02-23 17:43:31 +0000

    tests/sys/netgraph: Tell kyua that perl is required
    
    Otherwise these tests fail with incomprehensible error messages.
    
    Reviewed By:    kp
    Differential Revision: https://reviews.freebsd.org/D28894
---
 tests/sys/netgraph/Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/tests/sys/netgraph/Makefile b/tests/sys/netgraph/Makefile
index e370fad97df4..aef190bbe178 100644
--- a/tests/sys/netgraph/Makefile
+++ b/tests/sys/netgraph/Makefile
@@ -7,7 +7,8 @@ BINDIR=		${TESTSDIR}
 
 TAP_TESTS_SH+=	ng_macfilter_test
 
-TEST_METADATA.runtests+= required_user="root"
+TEST_METADATA.ng_macfilter_test+=	required_user="root"
+TEST_METADATA.ng_macfilter_test+=	required_programs="perl"
 
 MAN=
 


More information about the dev-commits-src-main mailing list