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)
Mon, Mar 17, 3:27 PM
Unknown Object (File)
Fri, Mar 14, 3:11 PM
Unknown Object (File)
Sun, Feb 23, 11:06 AM
Unknown Object (File)
Fri, Feb 21, 6:39 PM
Unknown Object (File)
Feb 15 2025, 9:03 PM
Unknown Object (File)
Feb 15 2025, 7:12 PM
Unknown Object (File)
Feb 15 2025, 3:29 PM
Unknown Object (File)
Feb 13 2025, 5:31 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 Not Applicable
Unit
Tests Not Applicable

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