Page MenuHomeFreeBSD

wtap(4): write atf test scripts to test all iface mode
Needs ReviewPublic

Authored by enweiwu on Sep 7 2022, 12:09 PM.
Referenced Files
Unknown Object (File)
Mon, Nov 18, 8:53 PM
Unknown Object (File)
Oct 4 2024, 11:09 AM
Unknown Object (File)
Oct 3 2024, 11:45 PM
Unknown Object (File)
Oct 1 2024, 3:07 PM
Unknown Object (File)
Sep 27 2024, 10:21 AM
Unknown Object (File)
Sep 24 2024, 1:51 PM
Unknown Object (File)
Sep 24 2024, 9:24 AM
Unknown Object (File)
Sep 7 2024, 5:18 PM

Details

Summary

Below is the planned commit.

Test script locates in tests/sys/net80211, which is written in atf-sh(3), and it can test parts of net80211 stack via interfaces created by wtap(4).

The test script needs tools/tools/wtap, which makes the test not self-contained, I'm discussing with Li-Wen Hsu to figure out the better way to address it.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

We also need to add this directory to tests/sys/Makefile

tests/sys/net80211/sta_assoc.c
4

This line is not needed.

For the record, we're thinking to move the tools to /usr/sbin as wtapctl(8).

tests/sys/net80211/sta_assoc.c
17

Sneaked line from copy/paste?

tests/sys/net80211/wtap.sh
2

This line add be added automatically when being installed to /usr/tests

2

s/add be/will be/