Repair shared radio and build-profile test fixtures
This commit is contained in:
1 parent
af106a0ee9
commit
4288402739
4 files changed
+9
-4
No files matched your search
@@ -26,6 +26,9 @@ class RemoteCliCommandIdentityTest(unittest.TestCase):
|
||||
normalize_end = source.index(" mesh::cli::normalizeCommandVerb(command);", normalize_start)
|
||||
normalize_end += len(" mesh::cli::normalizeCommandVerb(command);")
|
||||
mutation = source[trim_start:trim_end] + "\n" + source[normalize_start:normalize_end]
|
||||
# The full handler consumes this flag in its later telemetry reply
|
||||
# branch, outside this normalization-only boundary.
|
||||
mutation += "\n#if MESH_ENABLE_TELEMETRY_HISTORY\n(void)prefixed_reply;\n#endif\n"
|
||||
# setperm splits the argument in the same buffer; retain its real
|
||||
# delimiter mutation without pulling ACL/filesystem hardware into this test.
|
||||
setperm = source.index('char* hex = &command[8];', normalize_end)
|
||||
|
||||
Reference in new issue
Block a user