Page MenuHomeFreeBSD

Skip if_wg regression test if module doesn't exist
ClosedPublic

Authored by olivier on Feb 6 2023, 7:07 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Apr 3, 9:20 PM
Unknown Object (File)
Tue, Mar 11, 7:42 PM
Unknown Object (File)
Mar 3 2025, 8:44 AM
Unknown Object (File)
Feb 13 2025, 11:08 AM
Unknown Object (File)
Feb 12 2025, 5:13 PM
Unknown Object (File)
Feb 5 2025, 5:00 PM
Unknown Object (File)
Feb 5 2025, 1:29 PM
Unknown Object (File)
Feb 4 2025, 9:58 AM

Details

Summary

When building light FreeBSD without if_wg this regression test fail because it can't load the module.

Test Plan
  1. mv /boot/kernel/if_wg.ko /boot/kernel/if_wg.ko.bak
  2. kyua test sys/net/if_wg

sys/net/if_wg:wg_basic -> skipped: This test requires if_wg and could not load it [0.008s]
sys/net/if_wg:wg_key_peerdev_makeshared -> skipped: This test requires if_wg and could not load it [0.008s]
sys/net/if_wg:wg_key_peerdev_shared -> skipped: This test requires if_wg and could not load it [0.008s]
Results file id is usr_tests.20230206-185148-152438
Results saved to /root/.kyua/store/results.usr_tests.20230206-185148-152438.db
3/3 passed (0 failed)

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable