From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:58007) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dcCuS-00046D-30 for qemu-devel@nongnu.org; Mon, 31 Jul 2017 11:47:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dcCuP-00007T-Ck for qemu-devel@nongnu.org; Mon, 31 Jul 2017 11:47:08 -0400 Received: from mx1.redhat.com ([209.132.183.28]:52330) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dcCuO-00006m-Vc for qemu-devel@nongnu.org; Mon, 31 Jul 2017 11:47:05 -0400 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 85BA016BB30 for ; Mon, 31 Jul 2017 15:40:59 +0000 (UTC) From: Igor Mammedov Date: Mon, 31 Jul 2017 17:40:47 +0200 Message-Id: <1501515652-33372-1-git-send-email-imammedo@redhat.com> Subject: [Qemu-devel] [PATCH for-2.10 0/5] tests: acpi: make sure FADT is compared to reference table List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: "Michael S. Tsirkin" , Marcel Apfelbaum 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" CC: Marcel Apfelbaum 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