Changeset 2041
- Timestamp:
- Oct 8, 2004, 5:11:45 PM (22 years ago)
- Location:
- trunk/psLib/test
- Files:
-
- 2 edited
-
astronomy/tst_psMetadata_05.c (modified) (2 diffs)
-
collections/tst_psMetadata_05.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/test/astronomy/tst_psMetadata_05.c
r2039 r2041 22 22 * @author Ross Harman, MHPCC 23 23 * 24 * @version $Revision: 1. 5$ $Name: not supported by cvs2svn $25 * @date $Date: 2004-10-09 03: 05:20$24 * @version $Revision: 1.6 $ $Name: not supported by cvs2svn $ 25 * @date $Date: 2004-10-09 03:11:45 $ 26 26 * 27 27 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 239 239 psFree(item7); 240 240 psFree(item8); 241 psMemCheckLeaks(0, NULL, stdout); 241 if ( psMemCheckLeaks(0, NULL, stdout) != 0 ) { 242 psError(__func__,"Memory leaks detected."); 243 return 50; 244 } 242 245 psMemCheckCorruption(0); 243 246 int nBad = psMemCheckCorruption(0); 244 247 if(nBad) { 245 248 printf("ERROR: Found %d bad memory blocks\n", nBad); 249 return 51; 246 250 } 247 251 printFooter(stdout, "psMetadata", "Test M - Free psMetadata", true); -
trunk/psLib/test/collections/tst_psMetadata_05.c
r2039 r2041 22 22 * @author Ross Harman, MHPCC 23 23 * 24 * @version $Revision: 1. 5$ $Name: not supported by cvs2svn $25 * @date $Date: 2004-10-09 03: 05:20$24 * @version $Revision: 1.6 $ $Name: not supported by cvs2svn $ 25 * @date $Date: 2004-10-09 03:11:45 $ 26 26 * 27 27 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 239 239 psFree(item7); 240 240 psFree(item8); 241 psMemCheckLeaks(0, NULL, stdout); 241 if ( psMemCheckLeaks(0, NULL, stdout) != 0 ) { 242 psError(__func__,"Memory leaks detected."); 243 return 50; 244 } 242 245 psMemCheckCorruption(0); 243 246 int nBad = psMemCheckCorruption(0); 244 247 if(nBad) { 245 248 printf("ERROR: Found %d bad memory blocks\n", nBad); 249 return 51; 246 250 } 247 251 printFooter(stdout, "psMetadata", "Test M - Free psMetadata", true);
Note:
See TracChangeset
for help on using the changeset viewer.
