Page MenuHomeFreeBSD

Proper check if divert(4) module is present by the relevant tests
ClosedPublic

Authored by syrinx on May 27 2020, 12:18 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Dec 6, 1:53 AM
Unknown Object (File)
Nov 19 2024, 12:07 PM
Unknown Object (File)
Nov 14 2024, 6:01 PM
Unknown Object (File)
Nov 6 2024, 5:55 PM
Unknown Object (File)
Nov 6 2024, 5:52 PM
Unknown Object (File)
Sep 17 2024, 7:21 PM
Unknown Object (File)
Sep 5 2024, 8:10 PM
Unknown Object (File)
Aug 27 2024, 11:35 PM

Details

Summary

Fix the netinet/netinet6 divert tests falsely reporting
'ipdivert module is not loaded' when the divert module is built
in the kernel

Sponsored by: Axiado

Test Plan

On a FreeBSD system with

options IPFIREWALL
options IPDIVERT

enabled in the kernel config file, run

kyua test -k /usr/tests/sys/netinet/Kyuafile divert:ipdivert_ip_output_remote_success
kyua test -k /usr/tests/sys/netinet6/Kyuafile divert:ipdivert_ip6_output_remote_success

and verify the tests are passing.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable