mirror of
https://git.kernel.org/pub/scm/bluetooth/bluez.git
synced 2025-01-15 16:03:23 +08:00
android/tester-ng: Verify action results also for success case
Case when we were expecting fail as action result but we got success was not caught.
This commit is contained in:
parent
ca1d84a5f6
commit
9f3048ebdb
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user