Niel Fourie | 40102bc | 2020-03-24 16:17:03 +0100 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0 |
| 2 | # Copyright (C) 2020 |
| 3 | # Niel Fourie, DENX Software Engineering, lusus@denx.de |
| 4 | |
| 5 | import pytest |
| 6 | |
| 7 | @pytest.mark.buildconfigspec('cmd_part') |
| 8 | @pytest.mark.buildconfigspec('partitions') |
| 9 | @pytest.mark.buildconfigspec('efi_partition') |
Simon Glass | ddba520 | 2025-02-09 09:07:14 -0700 | [diff] [blame] | 10 | def test_part_types(ubman): |
Niel Fourie | 40102bc | 2020-03-24 16:17:03 +0100 | [diff] [blame] | 11 | """Test that `part types` prints a result which includes `EFI`.""" |
Simon Glass | ddba520 | 2025-02-09 09:07:14 -0700 | [diff] [blame] | 12 | output = ubman.run_command('part types') |
Niel Fourie | 40102bc | 2020-03-24 16:17:03 +0100 | [diff] [blame] | 13 | assert "Supported partition tables:" in output |
| 14 | assert "EFI" in output |