Page MenuHomeFreeBSD

syslogd: Fix tests when if_epair is not loaded
ClosedPublic

Authored by jlduran on Tue, Feb 11, 10:42 PM.

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.Wed, Feb 12, 2:18 PM