mirror of
https://github.com/u-boot/u-boot.git
synced 2025-01-22 10:44:08 +08:00
test/py: mmc: Fix 'mmc info' testcase
Commit41e30dcf87
("cmd: mmc: Make Mode: printout consistent") fixed the layout of `mmc info` output. Reflect this change in the respective testcase. Also fix a typo in the documentation. Fixes:41e30dcf87
("cmd: mmc: Make Mode: printout consistent") Signed-off-by: Harald Seiler <hws@denx.de> Acked-by: Stephen Warren <swarren@nvidia.com> Reviewed-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
39984d2213
commit
6748a1f2a3
@ -56,7 +56,7 @@ env__mmc_dev_configs = (
|
||||
'info_mode': ???,
|
||||
'info_buswidth': ???.
|
||||
},
|
||||
}
|
||||
)
|
||||
|
||||
# Configuration data for test_mmc_rd; defines regions of the MMC (entire
|
||||
# devices, or ranges of sectors) which can be read:
|
||||
@ -210,7 +210,7 @@ def test_mmc_info(u_boot_console, env__mmc_dev_config):
|
||||
assert good_response in response
|
||||
good_response = "Bus Speed: %s" % info_speed
|
||||
assert good_response in response
|
||||
good_response = "Mode : %s" % info_mode
|
||||
good_response = "Mode: %s" % info_mode
|
||||
assert good_response in response
|
||||
good_response = "Bus Width: %s" % info_buswidth
|
||||
assert good_response in response
|
||||
|
Loading…
Reference in New Issue
Block a user