mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-07 00:50:50 +00:00
tests/netgraph: mark all tests as required_user="root"
Any netgraph operation requires root priveleges. Some tests in the directory already mark themselves with 'atf_tc_set_md_var(conf, "require.user", "root");' which creates a lot of pasted code. Some tests don't mark self. For this particular directory a blanket metadata setting in the Makefile is acceptable, imho.
This commit is contained in:
parent
acbc176c3d
commit
fbbb50f570
|
@ -8,7 +8,7 @@ TAP_TESTS_SH+= ng_macfilter_test
|
|||
|
||||
# Serialize tests since some share netgraph node names.
|
||||
TEST_METADATA+= is_exclusive=true
|
||||
TEST_METADATA.ng_macfilter_test+= required_user="root"
|
||||
TEST_METADATA+= required_user="root"
|
||||
TEST_METADATA.ng_macfilter_test+= required_programs="perl"
|
||||
|
||||
ATF_TESTS_C+= basic \
|
||||
|
|
Loading…
Reference in a new issue