forked from espressif/esp-idf
examples/security: update test script to handle custom NVS partition init
This commit is contained in:
@@ -60,7 +60,9 @@ def test_examples_security_flash_encryption(dut: Dut) -> None:
|
|||||||
'with spi_flash_read',
|
'with spi_flash_read',
|
||||||
expected_str,
|
expected_str,
|
||||||
# The status of NVS encryption for the "nvs" partition
|
# The status of NVS encryption for the "nvs" partition
|
||||||
'NVS partition "nvs" is encrypted.'
|
'NVS partition "nvs" is encrypted.',
|
||||||
|
# The status of NVS encryption for the "custom_nvs" partition
|
||||||
|
'NVS partition "custom_nvs" is encrypted.'
|
||||||
]
|
]
|
||||||
for line in lines:
|
for line in lines:
|
||||||
dut.expect(line, timeout=2)
|
dut.expect(line, timeout=2)
|
||||||
|
Reference in New Issue
Block a user