Even though we have tests/acpi-test-data/[q35|pc]/FACP reference table
in source tree, it hasn't been actually tested. As result it went stale
and we did not notice any changes that were happening to it.
Fix it buy making sure it's not ignored and before fixing it,
do some cleanups in testcase that hopefully will make more clear what
functions actually do.
NOTE to maintaner:
after fix in 5/5 update following reference tables, to match reality
tests/acpi-test-data/pc/FACP
tests/acpi-test-data/q35/FACP
CC: Michael S. Tsirkin" <mst@redhat.com>
CC: Thomas Huth <thuth@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