2020-03-24 15:17:03 +00:00
|
|
|
# SPDX-License-Identifier: GPL-2.0
|
|
|
|
# Copyright (C) 2020
|
|
|
|
# Niel Fourie, DENX Software Engineering, lusus@denx.de
|
|
|
|
|
|
|
|
import pytest
|
|
|
|
|
|
|
|
@pytest.mark.buildconfigspec('cmd_part')
|
|
|
|
@pytest.mark.buildconfigspec('partitions')
|
|
|
|
@pytest.mark.buildconfigspec('efi_partition')
|
2022-05-17 15:24:45 +00:00
|
|
|
def test_part_types(u_boot_console):
|
2020-03-24 15:17:03 +00:00
|
|
|
"""Test that `part types` prints a result which includes `EFI`."""
|
|
|
|
output = u_boot_console.run_command('part types')
|
|
|
|
assert "Supported partition tables:" in output
|
|
|
|
assert "EFI" in output
|