Page MenuHomeFreeBSD

dhclient/tests: use require.kmods property instead of ad-hoc checks
Needs ReviewPublic

Authored by siva on Feb 10 2026, 3:44 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Oct 2, 6:03 PM
Unknown Object (File)
Sun, Sep 27, 10:53 PM
Unknown Object (File)
Sat, Sep 26, 9:35 PM
Unknown Object (File)
Sat, Sep 26, 9:06 PM
Unknown Object (File)
Sat, Sep 26, 8:46 PM
Unknown Object (File)
Fri, Sep 25, 9:39 PM
Unknown Object (File)
Fri, Sep 25, 9:30 PM
Unknown Object (File)
Wed, Sep 16, 8:28 AM
Subscribers

Details

Reviewers
jmg
lwhsu

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

siva requested review of this revision.Feb 10 2026, 3:44 PM

I'm good for kmods part. For dhcpd, in general it's a good direction. It's a bit pity that we lost the message of needing "ISC dhcp server", as I am not sure if this test works with other dhcpd. Not sure where is the best place to put that information.

Added a comment pointing to the pkg origin of dhcpd

siva retitled this revision from dhclient/tests: use metadata to load progs/kmods instead of ad-hoc checks to dhclient/tests: use require.kmods property instead of ad-hoc checks.

Updated from discussion offline. I will commit this version instead. I will figure out a way to add "skip reason" metadata to Kyua in a future patch.