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)
Sat, Sep 5, 5:51 AM
Unknown Object (File)
Sat, Sep 5, 1:11 AM
Unknown Object (File)
Fri, Sep 4, 11:38 PM
Unknown Object (File)
Wed, Aug 26, 4:40 AM
Unknown Object (File)
Tue, Aug 25, 11:56 PM
Unknown Object (File)
Sun, Aug 23, 6:22 AM
Unknown Object (File)
Aug 11 2026, 7:03 AM
Unknown Object (File)
Aug 11 2026, 2:09 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.