Merge branch 'fix/fatfs_pytest_expecting_typo' into 'master'

fix(sd): Fixed typo in pytest output expectation

Closes IDFCI-5088 and IDFCI-3728

See merge request espressif/esp-idf!44847
This commit is contained in:
Adam Múdry
2026-01-07 15:33:03 +01:00
2 changed files with 4 additions and 2 deletions

View File

@@ -65,6 +65,7 @@ examples/storage/perf_benchmark:
examples/storage/sd_card/sdmmc:
depends_components:
- fatfs
- vfs
- sdmmc
- esp_driver_sdmmc
@@ -77,6 +78,7 @@ examples/storage/sd_card/sdmmc:
examples/storage/sd_card/sdspi:
depends_components:
- fatfs
- vfs
- sdmmc
- esp_driver_sdspi

View File

@@ -1,4 +1,4 @@
# SPDX-FileCopyrightText: 2022-2025 Espressif Systems (Shanghai) CO LTD
# SPDX-FileCopyrightText: 2022-2026 Espressif Systems (Shanghai) CO LTD
# SPDX-License-Identifier: Unlicense OR CC0-1.0
import logging
import re
@@ -32,7 +32,7 @@ def test_examples_sd_card_sdmmc(dut: Dut) -> None:
'Reading file /sdcard/foo.txt',
f"Read from file: 'Hello {name}!'",
)
sd_card_format = re.compile(str.encode('Formatting card, allocation unit size=\\S+'))
sd_card_format = re.compile(str.encode('formatting drive, allocation unit size=\\S+'))
message_list2 = (
"file doesn't exist, formatting done",
'Opening file /sdcard/nihao.txt',