mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Make root-privileges a requirement for the test
Some of the testcases try to manipulate sysctls that require root privileges, e.g., "kern.sync_on_panic". Make root-privileges a hard requirement so the tests don't raise false positives due to privilege issues when calling sysctlbyname(3) on writable sysctls. MFC after: 1 week
This commit is contained in:
parent
ebe3e93cef
commit
737fb907a7
1 changed files with 2 additions and 0 deletions
|
|
@ -8,4 +8,6 @@ LIBADD+= nv
|
|||
|
||||
WARNS?= 3
|
||||
|
||||
TEST_METADATA.sysctl_test+= required_user="root"
|
||||
|
||||
.include <bsd.test.mk>
|
||||
|
|
|
|||
Loading…
Reference in a new issue