Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 103fb4f2 authored by Marco Nelissen's avatar Marco Nelissen
Browse files

Expand Gatekeeper test

Try verifying a previous enrollment after replacing it with a new
enrollment. This used to succeed when using in-memory records, but
should fail.

Bug: 160731903
Test: build, run

Change-Id: Ibe3c86c9b8b6afb7d2941c6805416817d7b76f21
parent 6bb888fe
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -306,6 +306,8 @@ TEST_P(GatekeeperHidlTest, UntrustedReenroll) {
  if (first != nullptr && second != nullptr) {
    EXPECT_NE(first->user_id, second->user_id);
  }
  // the old enrollment should be invalid now
  verifyPassword(password, enrollRsp.data, 0, verifyRsp, false);
  ALOGI("Testing Untrusted Reenroll done");
}