diff options
Diffstat (limited to 'tests/ec_sync_tests.c')
-rw-r--r-- | tests/ec_sync_tests.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/ec_sync_tests.c b/tests/ec_sync_tests.c index a8c9b78c..8f09af0d 100644 --- a/tests/ec_sync_tests.c +++ b/tests/ec_sync_tests.c @@ -409,19 +409,19 @@ static void VbSoftwareSyncTest(void) test_ssync(0, 0, "AP-RW shutdown requested"); ResetMocks(); - cparams.gbb->flags |= GBB_FLAG_DISABLE_EC_SOFTWARE_SYNC; + sd->gbb_flags |= VB2_GBB_FLAG_DISABLE_EC_SOFTWARE_SYNC; ec_aux_fw_mock_severity = VB_AUX_FW_FAST_UPDATE; test_ssync(VBERROR_SUCCESS, 0, - "GBB_FLAG_DISABLE_EC_SOFTWARE_SYNC" + "VB2_GBB_FLAG_DISABLE_EC_SOFTWARE_SYNC" " disables auxiliary FW update request"); TEST_EQ(ec_aux_fw_update_req, 0, " aux fw update disabled"); TEST_EQ(ec_aux_fw_protected, 1, " aux fw protected"); ResetMocks(); - cparams.gbb->flags |= GBB_FLAG_DISABLE_PD_SOFTWARE_SYNC; + sd->gbb_flags |= VB2_GBB_FLAG_DISABLE_PD_SOFTWARE_SYNC; ec_aux_fw_mock_severity = VB_AUX_FW_FAST_UPDATE; test_ssync(VBERROR_SUCCESS, 0, - "GBB_FLAG_DISABLE_PD_SOFTWARE_SYNC" + "VB2_GBB_FLAG_DISABLE_PD_SOFTWARE_SYNC" " disables auxiliary FW update request"); TEST_EQ(ec_aux_fw_update_req, 0, " aux fw update disabled"); TEST_EQ(ec_aux_fw_protected, 1, " aux fw protected"); |