tests: smbios: add test for legacy mode CLI options
commit579094cb995b605af07ba3ced3d0a5dc1545509c
authorIgor Mammedov <imammedo@redhat.com>
Thu, 14 Mar 2024 15:22:44 +0000 (14 16:22 +0100)
committerMichael S. Tsirkin <mst@redhat.com>
Mon, 18 Mar 2024 12:42:45 +0000 (18 08:42 -0400)
tree8be9a2ec719ae30d8b011c9c05714f40c5638428
parented75658af39ea29c5bf2d6fd2c645a54c95db78a
tests: smbios: add test for legacy mode CLI options

Unfortunately having 2.0 machine type deprecated is not enough
to get rid of legacy SMBIOS handling since 'isapc' also uses
that and it's staying around.

Hence add test for CLI options handling to be sure that it
ain't broken during SMBIOS code refactoring.

Signed-off-by: Igor Mammedov <imammedo@redhat.com>
Reviewed-by: Ani Sinha <anisinha@redhat.com>
Tested-by: Fiona Ebner <f.ebner@proxmox.com>
Message-Id: <20240314152302.2324164-4-imammedo@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
tests/data/smbios/type11_blob.legacy [new file with mode: 0644]
tests/qtest/bios-tables-test.c