Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(187)

Unified Diff: testsuite/tcg/transport/Tspi_NV_ReadValue-trans02.c

Issue 3581012: Upgrade from trousers 0.3.3 to 0.3.6 and from testsuite 0.2 to 0.3. (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/trousers.git
Patch Set: git cl push Created 10 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: testsuite/tcg/transport/Tspi_NV_ReadValue-trans02.c
diff --git a/testsuite/tcg/transport/Tspi_NV_ReadValue-trans02.c b/testsuite/tcg/transport/Tspi_NV_ReadValue-trans02.c
index e1d0ac3d5d1baeafb2994849ecb56e4303f4e034..ff84d2717fd3ffb300652c38f019279080bd8f1a 100644
--- a/testsuite/tcg/transport/Tspi_NV_ReadValue-trans02.c
+++ b/testsuite/tcg/transport/Tspi_NV_ReadValue-trans02.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);
« no previous file with comments | « testsuite/tcg/transport/Tspi_NV_ReadValue-trans01.c ('k') | testsuite/tcg/transport/Tspi_NV_ReadValue-trans03.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698