summaryrefslogtreecommitdiffstats
path: root/tests/fw_cfg-test.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/fw_cfg-test.c')
-rw-r--r--tests/fw_cfg-test.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/fw_cfg-test.c b/tests/fw_cfg-test.c
index 9be78e9..b7d4007 100644
--- a/tests/fw_cfg-test.c
+++ b/tests/fw_cfg-test.c
@@ -37,7 +37,9 @@ static void test_fw_cfg_signature(void)
static void test_fw_cfg_id(void)
{
- g_assert_cmpint(qfw_cfg_get_u32(fw_cfg, FW_CFG_ID), ==, 1);
+ uint32_t id = qfw_cfg_get_u32(fw_cfg, FW_CFG_ID);
+ g_assert((id == 1) ||
+ (id == 3));
}
static void test_fw_cfg_uuid(void)
OpenPOWER on IntegriCloud