tests/qtest/bios-tables-test.c: Add support for arch in path
authorSunil V L <sunilvl@ventanamicro.com>
Tue, 25 Jun 2024 15:08:29 +0000 (20:38 +0530)
committerMichael S. Tsirkin <mst@redhat.com>
Wed, 3 Jul 2024 22:14:06 +0000 (18:14 -0400)
commitc9ad3decca13cd0f01ef16dba7a3d44abb096964
tree5cfeb2fd1db733f4cfb8264177d503b6fda503cf
parent2fd69da2640188ca869a2d81385d13dd4662e65c
tests/qtest/bios-tables-test.c: Add support for arch in path

Since machine name can be common for multiple architectures (ex: virt),
add "arch" in the path to search for expected AML files. Since the AML
files are still under old path, add support for searching with and
without arch in the path.

Signed-off-by: Sunil V L <sunilvl@ventanamicro.com>
Acked-by: Alistair Francis <alistair.francis@wdc.com>
Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Message-Id: <20240625150839.1358279-7-sunilvl@ventanamicro.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
tests/qtest/bios-tables-test.c