+ # 10. check that the results are correct
+ result = []
+ self.get_engine_result(config_checklist, result, 'json')
+ self.assertEqual(
+ result,
+ [["CONFIG_NAME_1", "kconfig", "expected_1_new", "decision_1", "reason_1", "OK"],
+ ["name_2", "cmdline", "expected_2_new", "decision_2", "reason_2", "OK"],
+ ["name_3", "sysctl", "expected_3", "decision_3", "reason_3", "FAIL: \"expected_3_new\""]]
+ )
+
+ # 11. override expected value and perform the checks again
+ override_expected_value(config_checklist, "name_3", "expected_3_new")
+ perform_checks(config_checklist)
+
+ # 12. check that the results are correct