blob: a719a48e6eeb0bb3e2ccd2a6e1f0a79cfc0353bd [file] [log] [blame]
Niel Fouriee3697902020-03-30 17:22:58 +02001# SPDX-License-Identifier: GPL-2.0+
2# Copyright (C) 2020
3# Niel Fourie, DENX Software Engineering, lusus@denx.de
4
5import pytest
6
Patrick Delaunay0a4512b2021-11-30 15:33:53 +01007@pytest.mark.boardspec('sandbox')
Niel Fouriee3697902020-03-30 17:22:58 +02008@pytest.mark.buildconfigspec('blk')
9@pytest.mark.buildconfigspec('cmd_lsblk')
10def test_lsblk(u_boot_console):
11 """Test that `lsblk` prints a result which includes `host`."""
12 output = u_boot_console.run_command('lsblk')
13 assert "Block Driver" in output
14 assert "sandbox_host_blk" in output