examples/security: update test script to handle custom NVS partition init

This commit is contained in:
Mahavir Jain 2022-06-02 18:14:21 +05:30
parent beca401fbc
commit 3a104b011d
No known key found for this signature in database
GPG Key ID: 99324EF4A00734E0

View File

@ -60,7 +60,9 @@ def test_examples_security_flash_encryption(dut: Dut) -> None:
'with spi_flash_read',
expected_str,
# 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:
dut.expect(line, timeout=2)