mirror of
https://github.com/espressif/openthread.git
synced 2026-08-10 20:57:47 +00:00
[toranj] update test-002 to verify immediate command after a reset (#4006)
This commit updates toranj `test-002` to verify behavior of `wpantund` when a command is issued immediately after a `reset`.
This commit is contained in:
committed by
Jonathan Hui
parent
11e18b858b
commit
050cc07206
@@ -130,6 +130,14 @@ verify(node.get(wpan.WPAN_PANID) == '0x1977')
|
||||
verify(node.get(wpan.WPAN_XPANID) == '0x1020031510006016')
|
||||
verify(node.get(wpan.WPAN_IP6_MESH_LOCAL_PREFIX) == '"fd00:cafe::/64"')
|
||||
|
||||
# Verify behavior when commands are issued immediately after a `reset`
|
||||
|
||||
node.reset()
|
||||
node.leave()
|
||||
|
||||
node.reset()
|
||||
node.form('net-after-reset')
|
||||
|
||||
# -----------------------------------------------------------------------------------------------------------------------
|
||||
# Test finished
|
||||
|
||||
|
||||
Reference in New Issue
Block a user