mirror of
https://github.com/espressif/openthread.git
synced 2026-07-08 21:30:24 +00:00
35512636b8
This commit adds the Nexus test case 1_3_SRP_TC_8 which verifies that the SRP server correctly removes only selected service instances while keeping others registered, as per the Thread 1.3 test specification. The implementation includes: - tests/nexus/test_1_3_SRP_TC_8.cpp: Executes the test sequence by configuring a Thread Border Router (DUT), an End Device (ED), and an Infrastructure node (Eth). It registers multiple services and then removes one while verifying the remaining service. - tests/nexus/verify_1_3_SRP_TC_8.py: Performs automated verification of the captured traffic (PCAP), ensuring that SRP Updates, DNS queries, and mDNS responses correctly reflect the removal of the selected service and the persistence of the other. - Integrated the new test into tests/nexus/CMakeLists.txt and tests/nexus/run_nexus_tests.sh. The test ensures that the SRP server properly handles service deregistration according to the SRP draft and that DNS/mDNS discovery responses are updated correctly.
OpenThread Certification Tests
Inspector
Inspect nodes status by the following modification:
- Insert the inspector to where you want to inspect.
import debug
debug.Inspector(self).inspect()
- Run the test and it will stop at the line above and prompt
#.
./script/test clean build cert tests/scripts/thread-cert/Cert_5_1_01_RouterAttach.py
- Inspect
#
# 1
> state
leader
> exit
# 2
> panid
face
> exit
# exit
CLI reference
# mode
This is selection mode. You may select the node to inspect here.
list- list available nodes.exit- end inspecting, continue running test case.- <number> - select the node with id <number>. This will result in entering
>mode.
> mode
This is node mode. You may run OpenThread CLI here.
exit- go back to#mode.