tests: acpi: init table descriptor in test_dst_table()
commitdabc7f216b76ed29b04d8f89f5664b69d5d09e9b
authorIgor Mammedov <imammedo@redhat.com>
Fri, 29 Dec 2017 15:16:39 +0000 (29 16:16 +0100)
committerMichael S. Tsirkin <mst@redhat.com>
Thu, 18 Jan 2018 19:52:38 +0000 (18 21:52 +0200)
treea6c213c036c7cdedf2584825b3aea4e6ff64af6a
parentb24b9d947243c1108b958e544d48ec69d4dfbb2f
tests: acpi: init table descriptor in test_dst_table()

remove code duplication and make sure that table descriptor
passed in for initialization is in expected state.

Signed-off-by: Igor Mammedov <imammedo@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
tests/bios-tables-test.c