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)
Oct 10 2024, 1:53 PM
Unknown Object (File)
Oct 9 2024, 8:19 AM
Unknown Object (File)
Sep 27 2024, 4:25 AM
Unknown Object (File)
Sep 18 2024, 6:43 AM
Unknown Object (File)
Sep 16 2024, 3:22 PM
Unknown Object (File)
Sep 15 2024, 11:09 PM
Unknown Object (File)
Sep 10 2024, 5:46 AM
Unknown Object (File)
Sep 3 2024, 5:33 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