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)
Thu, May 21, 4:17 AM
Unknown Object (File)
Mon, May 18, 3:08 PM
Unknown Object (File)
Sun, May 17, 4:24 PM
Unknown Object (File)
Sun, May 17, 4:20 PM
Unknown Object (File)
Sun, May 17, 4:06 PM
Unknown Object (File)
Sun, May 17, 4:02 PM
Unknown Object (File)
Thu, May 14, 2:36 PM
Unknown Object (File)
Thu, May 14, 11:26 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.