diff options
author | Tom Rini <trini@konsulko.com> | 2025-03-15 08:19:31 -0600 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2025-03-15 08:19:31 -0600 |
commit | 0e1fc465fea62ebae91f2f56cb823e8b37ee1077 (patch) | |
tree | 14ea0ca0ef443959df1ac5afa7b5114e6910bf77 /test/py/tests/test_semihosting/test_hostfs.py | |
parent | 00dfb7038ea4dfe9d9667143bfecd11c05cab6fa (diff) | |
parent | 13e8d14442a85a8556211a9950a5b6f80b447901 (diff) |
Merge tag 'dm-pull-15mar25' of git://git.denx.de/u-boot-dm into next
Sync up on test renames
Diffstat (limited to 'test/py/tests/test_semihosting/test_hostfs.py')
-rw-r--r-- | test/py/tests/test_semihosting/test_hostfs.py | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/test/py/tests/test_semihosting/test_hostfs.py b/test/py/tests/test_semihosting/test_hostfs.py index 51f6fa7702c..1bead69b507 100644 --- a/test/py/tests/test_semihosting/test_hostfs.py +++ b/test/py/tests/test_semihosting/test_hostfs.py @@ -6,28 +6,28 @@ import pytest @pytest.mark.buildconfigspec('semihosting') -def test_semihosting_hostfs(u_boot_console, semihosting_data): +def test_semihosting_hostfs(ubman, semihosting_data): """ Unit test for semihosting Args: - u_boot_console -- U-Boot console + ubman -- U-Boot console semihosting_data -- Path to the disk image used for testing. """ - response = u_boot_console.run_command( + response = ubman.run_command( f'load hostfs - $loadaddr {semihosting_data}') assert '11 bytes read' in response - response = u_boot_console.run_command( + response = ubman.run_command( 'crc32 $loadaddr $filesize') assert '==> 60cfccfc' in response - u_boot_console.run_command( + ubman.run_command( f'save hostfs - $loadaddr {semihosting_data} 11 11') - response = u_boot_console.run_command( + response = ubman.run_command( f'load hostfs - $loadaddr {semihosting_data} 4 13') assert '4 bytes read' in response - response = u_boot_console.run_command( + response = ubman.run_command( 'crc32 $loadaddr $filesize') assert '==> e29063ea' in response |