While refactoring i386/FADT generation to build_append_int_noprefix() and testing it, It turned out that FADT is only tested for valid checksum but actual test for unintended changes isn't applied to it even though we have reference tables in tree. So here goes a couple of cleanups to reflect what fuctions do + some comments and actual fix. Note to maintainer: FADT reference table is out of sync and should be updated along with series applied. CC: "Michael S. Tsirkin" <m...@redhat.com> CC: Marcel Apfelbaum <mar...@redhat.com>
Igor Mammedov (5): tests: acpi: move tested tables array allocation outside of test_acpi_dsdt_table() tests: acpi: init table descriptor in test_dst_table() tests: acpi: rename test_acpi_tables()/test_dst_table() to reflect its usage tests: acpi: add comments to fetch_rsdt_referenced_tables/data->tables usage tests: acpi: fix FADT not being compared to reference table tests/bios-tables-test.c | 30 ++++++++++++++++++------------ 1 file changed, 18 insertions(+), 12 deletions(-) -- 2.7.4