Page MenuHomeFreeBSD

syslogd: Fix tests when if_epair is not loaded
ClosedPublic

Authored by jlduran on Feb 11 2025, 10:42 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Mar 25, 6:32 AM
Unknown Object (File)
Sun, Mar 23, 12:06 PM
Unknown Object (File)
Mon, Mar 17, 3:27 PM
Unknown Object (File)
Fri, Mar 14, 3:11 PM
Unknown Object (File)
Feb 23 2025, 11:06 AM
Unknown Object (File)
Feb 21 2025, 6:39 PM
Unknown Object (File)
Feb 15 2025, 9:03 PM
Unknown Object (File)
Feb 15 2025, 7:12 PM
Subscribers

Details

Summary

Take a cue from vnet.subr and abstract module loading, jail creation and
cleanup.

Note that the way jails are created differs slightly from vnet.subr, to
maintain the current style of the tests.

Reported by: Jenkins

Diff Detail

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

Event Timeline

usr.sbin/syslogd/tests/syslogd_test_common.sh
140

Doesn't this mean we only pass the first optional argument to jail(8)?

jlduran marked an inline comment as done.

Address suggestions:

  • Accept all arguments (not just the first one) after the jail name
This revision is now accepted and ready to land.Feb 12 2025, 2:18 PM