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

Side by Side Diff: testsuite/tcg/nv/Tspi_NV_DefineSpace04.c

Issue 1315006: The DefineSpace04 test currently fails because this test is expecting that it will (Closed)
Patch Set: A bit of cleanup. Created 10 years, 9 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 unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * The Initial Developer of the Original Code is Intel Corporation. 2 * The Initial Developer of the Original Code is Intel Corporation.
3 * Portions created by Intel Corporation are Copyright (C) 2007 Intel Corporatio n. 3 * Portions created by Intel Corporation are Copyright (C) 2007 Intel Corporatio n.
4 * All Rights Reserved. 4 * All Rights Reserved.
5 * 5 *
6 * This program is free software; you can redistribute it and/or modify 6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by 7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or 8 * the Free Software Foundation; either version 2 of the License, or
9 * (at your option) any later version. 9 * (at your option) any later version.
10 * 10 *
(...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after
200 { 200 {
201 print_success(nameOfFunction, result); 201 print_success(nameOfFunction, result);
202 print_end_test(nameOfFunction); 202 print_end_test(nameOfFunction);
203 Tspi_Context_FreeMemory(hContext, NULL); 203 Tspi_Context_FreeMemory(hContext, NULL);
204 Tspi_Context_Close(hContext); 204 Tspi_Context_Close(hContext);
205 exit(0); 205 exit(0);
206 } 206 }
207 else{ 207 else{
208 print_error("Tspi_NV_DefineSpace", result); 208 print_error("Tspi_NV_DefineSpace", result);
209 print_end_test(nameOfFunction); 209 print_end_test(nameOfFunction);
210 #ifdef CLEAR_TEST_INDEX
211 if ( result == TSS_SUCCESS )
212 Tspi_NV_ReleaseSpace(hNVStore);
213 #endif
210 Tspi_Context_FreeMemory(hContext, NULL); 214 Tspi_Context_FreeMemory(hContext, NULL);
211 Tspi_Context_Close(hContext); 215 Tspi_Context_Close(hContext);
212 if ( result == TSS_SUCCESS ) 216 if ( result == TSS_SUCCESS )
213 exit(-1); 217 exit(-1);
214 exit(result); 218 exit(result);
215 } 219 }
216 220
217 #else 221 #else
218 if (TSS_ERROR_CODE(result)== TSS_E_BAD_PARAMETER) 222 if (TSS_ERROR_CODE(result)== TSS_E_BAD_PARAMETER)
219 { 223 {
220 print_success(nameOfFunction, result); 224 print_success(nameOfFunction, result);
221 print_end_test(nameOfFunction); 225 print_end_test(nameOfFunction);
222 Tspi_Context_FreeMemory(hContext, NULL); 226 Tspi_Context_FreeMemory(hContext, NULL);
223 Tspi_Context_Close(hContext); 227 Tspi_Context_Close(hContext);
224 exit(0); 228 exit(0);
225 } 229 }
226 else{ 230 else{
227 print_error("Tspi_NV_DefineSpace", result); 231 print_error("Tspi_NV_DefineSpace", result);
228 print_end_test(nameOfFunction); 232 print_end_test(nameOfFunction);
229 Tspi_Context_FreeMemory(hContext, NULL); 233 Tspi_Context_FreeMemory(hContext, NULL);
230 Tspi_Context_Close(hContext); 234 Tspi_Context_Close(hContext);
231 if ( result == TSS_SUCCESS ) 235 if ( result == TSS_SUCCESS )
232 exit(-1); 236 exit(-1);
233 exit(result); 237 exit(result);
234 } 238 }
235 #endif 239 #endif
236 } 240 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698