mirror of
https://github.com/espressif/esp-idf.git
synced 2026-01-14 15:45:53 +00:00
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:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user