Case when we were expecting fail as action result but we got success was not caught. --- android/tester-main.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/android/tester-main.c b/android/tester-main.c index f5bcb1c..5bafc0e 100644 --- a/android/tester-main.c +++ b/android/tester-main.c @@ -404,8 +404,7 @@ static bool match_data(struct step *step) return false; } - if (exp->action_result.status && (exp->action_result.status != - step->action_result.status)) { + if (exp->action_result.status != step->action_result.status) { tester_debug("Action status don't match"); return false; } -- 1.9.1 -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html