Page MenuHomeFreeBSD

libc: tests: allow fortified test cases to require root
AcceptedPublic

Authored by kevans on Wed, Mar 5, 1:35 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Mar 8, 1:13 AM
Unknown Object (File)
Fri, Mar 7, 9:57 AM
Unknown Object (File)
Fri, Mar 7, 7:27 AM
Unknown Object (File)
Fri, Mar 7, 5:28 AM
Unknown Object (File)
Thu, Mar 6, 3:48 PM
Unknown Object (File)
Thu, Mar 6, 12:15 AM
Unknown Object (File)
Wed, Mar 5, 3:01 AM
Unknown Object (File)
Wed, Mar 5, 2:57 AM
Subscribers

Details

Reviewers
markj
jlduran
Summary

An upcoming test will require root to create a jail with its own
domainname/hostname to avoid external requirements on the test runner
as we want to fetch them with valid and plausible sizes.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 62760
Build 59644: arc lint + arc unit

Event Timeline

This revision is now accepted and ready to land.Wed, Mar 5, 3:05 AM
markj added inline comments.
lib/libc/tests/secure/generate-fortify-tests.lua
1077

It'd be a bit more future-proof to always generate the header, then only add the atf_tc_set_md_var() when needed.