commit d1edce71135cc6d98c0a4b5729774542b676e769 Author: sophgo-forum-service <forum_service@sophgo.com> Date: Fri Mar 15 16:07:33 2024 +0800 [fix] recommend using ssh method to clone repo. [fix] fix sensor driver repo branch name.
14 lines
431 B
Python
14 lines
431 B
Python
# SPDX-License-Identifier: GPL-2.0+
|
|
# Copyright (C) 2020
|
|
# Niel Fourie, DENX Software Engineering, lusus@denx.de
|
|
|
|
import pytest
|
|
|
|
@pytest.mark.buildconfigspec('blk')
|
|
@pytest.mark.buildconfigspec('cmd_lsblk')
|
|
def test_lsblk(u_boot_console):
|
|
"""Test that `lsblk` prints a result which includes `host`."""
|
|
output = u_boot_console.run_command('lsblk')
|
|
assert "Block Driver" in output
|
|
assert "sandbox_host_blk" in output
|