blob: babd4f9528b1afa140147834e850de5fcafe6d6b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
# SPDX-License-Identifier: GPL-2.0+
# Copyright (C) 2020
# Niel Fourie, DENX Software Engineering, lusus@denx.de
import pytest
@pytest.mark.boardspec('sandbox')
@pytest.mark.buildconfigspec('blk')
@pytest.mark.buildconfigspec('cmd_lsblk')
def test_lsblk(ubman):
"""Test that `lsblk` prints a result which includes `host`."""
output = ubman.run_command('lsblk')
assert "Block Driver" in output
assert "sandbox_host_blk" in output
|