Merge branch 'fix/fatfs_pytest_expecting_typo_v6.0' into 'release/v6.0'

fix(sd): Fixed typo in pytest output expectation (v6.0)

See merge request espressif/esp-idf!44882
This commit is contained in:
Jiang Jiang Jian
2026-02-02 10:26:38 +08:00
2 changed files with 4 additions and 2 deletions
+2
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
@@ -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',