tests: acpi: manually pad OEM_ID/OEM_TABLE_ID for test_oem_fields() test
commita849522f726767022203ef2b6c395ea19facb866
authorIgor Mammedov <imammedo@redhat.com>
Wed, 12 Jan 2022 13:03:29 +0000 (12 08:03 -0500)
committerMichael S. Tsirkin <mst@redhat.com>
Fri, 4 Feb 2022 14:07:43 +0000 (4 09:07 -0500)
tree2beaabf28b197331e9eed15c484fb660c0fac1fb
parent274f5e63430b907b4bf50d40458204729fcded55
tests: acpi: manually pad OEM_ID/OEM_TABLE_ID for test_oem_fields() test

The next commit will revert OEM fields padding with whitespace to
padding with '\0' as it was before [1]. As result test_oem_fields() will
fail due to unexpectedly smaller ID sizes read from QEMU ACPI tables.

Pad OEM_ID/OEM_TABLE_ID manually with spaces so that values the test
puts on QEMU CLI and expected values match.

1) 602b458201 ("acpi: Permit OEM ID and OEM table ID fields to be changed")
Signed-off-by: Igor Mammedov <imammedo@redhat.com>
Message-Id: <20220112130332.1648664-2-imammedo@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
tests/qtest/bios-tables-test.c