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
F132245637: D48949.id150863.diff
Wed, Oct 15, 3:48 AM
Unknown Object (File)
Tue, Oct 14, 1:43 AM
Unknown Object (File)
Mon, Oct 13, 4:15 AM
Unknown Object (File)
Mon, Oct 6, 9:26 AM
Unknown Object (File)
Sun, Oct 5, 8:47 AM
Unknown Object (File)
Thu, Sep 25, 4:16 PM
Unknown Object (File)
Aug 26 2025, 9:43 AM
Unknown Object (File)
Aug 20 2025, 7:20 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