blob: cba980451011470c3545bd1331d6b6343688bee8 [file] [log] [blame]
Niel Fourie0ffdfbd2020-03-24 16:17:03 +01001# SPDX-License-Identifier: GPL-2.0
2# Copyright (C) 2020
3# Niel Fourie, DENX Software Engineering, lusus@denx.de
4
5import pytest
6
7@pytest.mark.buildconfigspec('cmd_part')
8@pytest.mark.buildconfigspec('partitions')
9@pytest.mark.buildconfigspec('efi_partition')
10def test_dm_compat(u_boot_console):
11 """Test that `part types` prints a result which includes `EFI`."""
12 output = u_boot_console.run_command('part types')
13 assert "Supported partition tables:" in output
14 assert "EFI" in output