tests: Retry NVWrite command after 0x922 return code and inc lockout counter

When returncode 0x922 is received from NVWrite then retry the command so
that it gets the expected error code from failing to provide a password.
When checking the lockout counter, increase the numbers now.

Patched versions of libtpms may not return 0x922 anymore, so write the code
that it can test both cases.

Signed-off-by: Stefan Berger <[email protected]>
1 file changed
OSZAR »