| Index: testsuite/tcg/transport/Tspi_NV_ReadValue-trans01.c
|
| diff --git a/testsuite/tcg/transport/Tspi_NV_ReadValue-trans01.c b/testsuite/tcg/transport/Tspi_NV_ReadValue-trans01.c
|
| index 6638bc9ce87d6e7a5a6988c87224e89a714e3bb4..13ae8b736412569201c66dbe13953894367c39f1 100644
|
| --- a/testsuite/tcg/transport/Tspi_NV_ReadValue-trans01.c
|
| +++ b/testsuite/tcg/transport/Tspi_NV_ReadValue-trans01.c
|
| @@ -279,9 +279,9 @@ main_v1_2(char version)
|
| #endif
|
|
|
| #ifdef NV_LOCKED
|
| - if (TSS_ERROR_CODE(result)== TPM_E_AUTH_CONFLICT)
|
| + if (TSS_ERROR_CODE(result) != TPM_E_AUTH_CONFLICT)
|
| #else
|
| - if (result== TSS_SUCCESS)
|
| + if (result != TSS_SUCCESS)
|
| #endif
|
| {
|
| print_error("Tspi_NV_ReadValue", result);
|
| @@ -291,7 +291,7 @@ main_v1_2(char version)
|
| }
|
|
|
| result = Testsuite_Transport_Final(hContext, hSigningKey);
|
| - if (result != TSS_SUCCESS)
|
| + if (result == TSS_SUCCESS)
|
| {
|
| print_success(nameOfFunction, result);
|
| print_end_test(nameOfFunction);
|
|
|