diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/fw_cfg-test.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/fw_cfg-test.c b/tests/fw_cfg-test.c index 9be78e9564..b7d4007e32 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) |