From 57cff5e64fbbbae2b65fce137d01aa0a3addea7b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Sun, 1 Dec 2019 18:50:12 +0100 Subject: [PATCH] tests: make test_cbfs::test_listing pass on Fedora --- tests/comparators/test_cbfs.py | 1 + tests/data/cbfs_listing_expected_fedora.diff | 7 +++++++ 2 files changed, 8 insertions(+) create mode 100644 tests/data/cbfs_listing_expected_fedora.diff diff --git a/tests/comparators/test_cbfs.py b/tests/comparators/test_cbfs.py index d08578856f..3e0696b06d 100644 --- a/tests/comparators/test_cbfs.py +++ b/tests/comparators/test_cbfs.py @@ -130,6 +130,7 @@ def test_listing(differences): get_data('cbfs_listing_expected_diff'), get_data('cbfs_listing_no_legacy_header_expected_diff'), get_data('cbfs_listing_comp_column_expected.diff'), # cbfs >= 4.6 + get_data('cbfs_listing_expected_fedora.diff'), # cbfs >= 4.9? ) diff --git a/tests/data/cbfs_listing_expected_fedora.diff b/tests/data/cbfs_listing_expected_fedora.diff new file mode 100644 index 0000000000..8c0301f2e3 --- /dev/null +++ b/tests/data/cbfs_listing_expected_fedora.diff @@ -0,0 +1,7 @@ +@@ -1,4 +1,4 @@ + FMAP REGION: COREBOOT + Name Offset Type Size Comp +-text 0x0 raw 446 none +-(empty) 0x200 null 32152 none ++text 0x0 raw 671 none ++(empty) 0x300 null 31896 none