git: 760cf46f3e40 - stable/13 - tests/sys/netgraph: Tell kyua that perl is required

Alex Richardson arichardson at FreeBSD.org
Wed Mar 17 22:23:06 UTC 2021


The branch stable/13 has been updated by arichardson:

URL: https://cgit.FreeBSD.org/src/commit/?id=760cf46f3e40c879f2f3efde3821419dbf32915d

commit 760cf46f3e40c879f2f3efde3821419dbf32915d
Author:     Alex Richardson <arichardson at FreeBSD.org>
AuthorDate: 2021-02-23 17:02:31 +0000
Commit:     Alex Richardson <arichardson at FreeBSD.org>
CommitDate: 2021-03-17 22:22:49 +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
    
    (cherry picked from commit 3775ddcf5a12c8e23970e94b7b165bf23c92aeba)
---
 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-all mailing list