tests: fix acpi to work on bigendian host
commit084137ddbbb30f5f85298711dc2d501a625d37ab
authorAlexey Kardashevskiy <aik@ozlabs.ru>
Mon, 13 Jan 2014 07:33:53 +0000 (13 18:33 +1100)
committerMichael S. Tsirkin <mst@redhat.com>
Sun, 26 Jan 2014 11:06:49 +0000 (26 13:06 +0200)
tree53f78bec8c6c0f92a3dec6436a37723b0bf6a2ea
parent4500bc98a6aab1734d865afaeade3509eb65b560
tests: fix acpi to work on bigendian host

Double endianness convertion make this test failing on POWERPC machine
running in big-endian.

This fixes the test to success on big-endian host.

Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
tests/acpi-test.c