tests: acpi: test short OEM_ID/OEM_TABLE_ID values in test_oem_fields()
authorIgor Mammedov <imammedo@redhat.com>
Fri, 14 Jan 2022 14:26:41 +0000 (09:26 -0500)
committerMichael S. Tsirkin <mst@redhat.com>
Fri, 4 Feb 2022 14:07:43 +0000 (09:07 -0500)
commit408ca92634770de5eac7965ed97c6260e770f2e7
treea4cfd04d567ea3d9b75f00272e395eb7697f3bf0
parent5adc3aba875416b0e077d8a29ddd0357883746f4
tests: acpi: test short OEM_ID/OEM_TABLE_ID values in test_oem_fields()

Previous patch [1] added explicit whitespace padding to OEM_ID/OEM_TABLE_ID
values used in test_oem_fields() testcase to avoid false positive and
bisection issues when QEMU is switched to \0' padding. As result
testcase ceased to test values that were shorter than max possible
length values.

Update testcase to make sure that it's testing shorter IDs like it
used to before [2].

1) "tests: acpi: manually pad OEM_ID/OEM_TABLE_ID for  test_oem_fields() test"
2) 602b458201 ("acpi: Permit OEM ID and OEM table ID fields to be changed")

Signed-off-by: Igor Mammedov <imammedo@redhat.com>
Message-Id: <20220114142641.1727679-1-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