Index: trunk/psLib/test/collections/tst_psArray.c
===================================================================
--- trunk/psLib/test/collections/tst_psArray.c	(revision 2388)
+++ trunk/psLib/test/collections/tst_psArray.c	(revision 2392)
@@ -17,6 +17,6 @@
  *  @author  Ross Harman, MHPCC
  *
- *  @version $Revision: 1.8 $  $Name: not supported by cvs2svn $
- *  @date  $Date: 2004-11-19 01:04:51 $
+ *  @version $Revision: 1.9 $  $Name: not supported by cvs2svn $
+ *  @date  $Date: 2004-11-22 21:07:42 $
  *
  *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -119,5 +119,4 @@
     printFooter(stdout, "psArray", "Reallocate void pointer array bigger", true);
 
-
     // Test D - Reallocate void pointer array smaller
     printPositiveTestHeader(stdout,"psArray","Reallocate void pointer array smaller");
@@ -206,5 +205,5 @@
         psFree(mySt[i]);
     }
-    if( psMemCheckLeaks(0, NULL, stdout) != 0) {
+    if( psMemCheckLeaks(0, NULL, stdout, false) != 0) {
         psError(PS_ERR_UNKNOWN,true,"Memory leaks detected.");
         return 110;
Index: trunk/psLib/test/collections/tst_psHash00.c
===================================================================
--- trunk/psLib/test/collections/tst_psHash00.c	(revision 2388)
+++ trunk/psLib/test/collections/tst_psHash00.c	(revision 2392)
@@ -55,5 +55,5 @@
     psFree(myHashTable);
 
-    memLeaks = psMemCheckLeaks(currentId,NULL,stderr);
+    memLeaks = psMemCheckLeaks(currentId,NULL,stderr,false);
     if (0 != memLeaks) {
         psAbort(__func__,"Memory Leaks! (%d leaks)", memLeaks);
Index: trunk/psLib/test/collections/tst_psHash01.c
===================================================================
--- trunk/psLib/test/collections/tst_psHash01.c	(revision 2388)
+++ trunk/psLib/test/collections/tst_psHash01.c	(revision 2392)
@@ -70,5 +70,5 @@
                 testStatus);
 
-    memLeaks = psMemCheckLeaks(currentId,NULL,stderr);
+    memLeaks = psMemCheckLeaks(currentId,NULL,stderr,false);
     if (0 != memLeaks) {
         psAbort(__func__,"Memory Leaks! (%d leaks)", memLeaks);
Index: trunk/psLib/test/collections/tst_psHash02.c
===================================================================
--- trunk/psLib/test/collections/tst_psHash02.c	(revision 2388)
+++ trunk/psLib/test/collections/tst_psHash02.c	(revision 2392)
@@ -80,5 +80,5 @@
     psFree(myHashTable);
 
-    memLeaks = psMemCheckLeaks(currentId,NULL,stderr);
+    memLeaks = psMemCheckLeaks(currentId,NULL,stderr,false);
     if (0 != memLeaks) {
         psAbort(__func__,"Memory Leaks! (%d leaks)", memLeaks);
Index: trunk/psLib/test/collections/tst_psHash03.c
===================================================================
--- trunk/psLib/test/collections/tst_psHash03.c	(revision 2388)
+++ trunk/psLib/test/collections/tst_psHash03.c	(revision 2392)
@@ -29,7 +29,7 @@
     psS32 numBlocks = 0;
 
-    numBlocks = psMemCheckLeaks(currentId, &memBlocks, NULL);
+    numBlocks = psMemCheckLeaks(currentId, &memBlocks, NULL,false);
     printf("******************** %s ********************\n", myString);
-    printf("%d mem blocks\n", psMemCheckLeaks(currentId,NULL,stderr));
+    printf("%d mem blocks\n", psMemCheckLeaks(currentId,NULL,stderr,false));
     printf("%d blocks\n", numBlocks);
     printf("*  ");
@@ -129,5 +129,5 @@
         psFree(ids[i]);
     }
-    memLeaks = psMemCheckLeaks(currentId,NULL,stdout);
+    memLeaks = psMemCheckLeaks(currentId,NULL,stdout,false);
     if (0 != memLeaks) {
         psAbort(__func__,"Memory Leaks! (%d leaks)", memLeaks);
Index: trunk/psLib/test/collections/tst_psHash04.c
===================================================================
--- trunk/psLib/test/collections/tst_psHash04.c	(revision 2388)
+++ trunk/psLib/test/collections/tst_psHash04.c	(revision 2392)
@@ -75,5 +75,5 @@
     psFree(myHashTable);
 
-    memLeaks = psMemCheckLeaks(currentId,NULL,stderr);
+    memLeaks = psMemCheckLeaks(currentId,NULL,stderr,false);
     if (0 != memLeaks) {
         psAbort(__func__,"Memory Leaks! (%d leaks)", memLeaks);
Index: trunk/psLib/test/collections/tst_psMetadataIO.c
===================================================================
--- trunk/psLib/test/collections/tst_psMetadataIO.c	(revision 2388)
+++ trunk/psLib/test/collections/tst_psMetadataIO.c	(revision 2392)
@@ -13,6 +13,6 @@
 *  @author  Ross Harman, MHPCC
 *
-*  @version $Revision: 1.3 $  $Name: not supported by cvs2svn $
-*  @date  $Date: 2004-10-27 00:57:31 $
+*  @version $Revision: 1.4 $  $Name: not supported by cvs2svn $
+*  @date  $Date: 2004-11-22 20:53:39 $
 *
 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -174,5 +174,8 @@
     psFree(metadata2);
     psFree(metadata3);
-    psMemCheckLeaks(0, NULL, stdout);
+    if(psMemCheckLeaks(0, NULL, stdout,false)) {
+        psError(PS_ERR_UNKNOWN,true,"Memory leak detected");
+        return 10;
+    }
     psMemCheckCorruption(0);
     psS32 nBad = psMemCheckCorruption(0);
Index: trunk/psLib/test/collections/tst_psMetadata_01.c
===================================================================
--- trunk/psLib/test/collections/tst_psMetadata_01.c	(revision 2388)
+++ trunk/psLib/test/collections/tst_psMetadata_01.c	(revision 2392)
@@ -17,6 +17,6 @@
 *  @author  Ross Harman, MHPCC
 *
-*  @version $Revision: 1.14 $  $Name: not supported by cvs2svn $
-*  @date  $Date: 2004-11-04 01:05:00 $
+*  @version $Revision: 1.15 $  $Name: not supported by cvs2svn $
+*  @date  $Date: 2004-11-22 20:54:50 $
 *
 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -260,5 +260,8 @@
     psFree(metadata2);
     psFree(metadata3);
-    psMemCheckLeaks(0, NULL, stdout);
+    if(psMemCheckLeaks(0, NULL, stdout,false)) {
+        psError(PS_ERR_UNKNOWN,true,"Memory leaks detected.");
+        return 10;
+    }
     psMemCheckCorruption(0);
     psS32 nBad = psMemCheckCorruption(0);
Index: trunk/psLib/test/collections/tst_psMetadata_02.c
===================================================================
--- trunk/psLib/test/collections/tst_psMetadata_02.c	(revision 2388)
+++ trunk/psLib/test/collections/tst_psMetadata_02.c	(revision 2392)
@@ -14,6 +14,6 @@
 *  @author  Ross Harman, MHPCC
 *
-*  @version $Revision: 1.7 $  $Name: not supported by cvs2svn $
-*  @date  $Date: 2004-11-04 01:05:00 $
+*  @version $Revision: 1.8 $  $Name: not supported by cvs2svn $
+*  @date  $Date: 2004-11-22 20:54:50 $
 *
 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -134,5 +134,8 @@
     psFree(badItem);
     psFree(metadata);
-    psMemCheckLeaks(0, NULL, stdout);
+    if(psMemCheckLeaks(0, NULL, stdout,false) ) {
+        psError(PS_ERR_UNKNOWN,true,"Memory leaks detected.");
+        return 10;
+    }
     psMemCheckCorruption(0);
     psS32 nBad = psMemCheckCorruption(0);
Index: trunk/psLib/test/collections/tst_psMetadata_03.c
===================================================================
--- trunk/psLib/test/collections/tst_psMetadata_03.c	(revision 2388)
+++ trunk/psLib/test/collections/tst_psMetadata_03.c	(revision 2392)
@@ -14,6 +14,6 @@
 *  @author  Ross Harman, MHPCC
 *
-*  @version $Revision: 1.9 $  $Name: not supported by cvs2svn $
-*  @date  $Date: 2004-11-04 01:05:00 $
+*  @version $Revision: 1.10 $  $Name: not supported by cvs2svn $
+*  @date  $Date: 2004-11-22 20:54:50 $
 *
 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -226,5 +226,5 @@
     psFree(errItem);
     psFree(errMetadata);
-    if( psMemCheckLeaks(0, NULL, stdout) != 0 ) {
+    if( psMemCheckLeaks(0, NULL, stdout,false) != 0 ) {
         psError(PS_ERR_UNKNOWN, true,"Memory leaks detected.");
         return 25;
Index: trunk/psLib/test/collections/tst_psMetadata_04.c
===================================================================
--- trunk/psLib/test/collections/tst_psMetadata_04.c	(revision 2388)
+++ trunk/psLib/test/collections/tst_psMetadata_04.c	(revision 2392)
@@ -18,6 +18,6 @@
 *  @author  Ross Harman, MHPCC
 *
-*  @version $Revision: 1.7 $  $Name: not supported by cvs2svn $
-*  @date  $Date: 2004-11-04 01:05:00 $
+*  @version $Revision: 1.8 $  $Name: not supported by cvs2svn $
+*  @date  $Date: 2004-11-22 20:54:50 $
 *
 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -196,5 +196,5 @@
     psFree(item3);
     psFree(item4);
-    if ( psMemCheckLeaks(0, NULL, stdout) != 0 ) {
+    if ( psMemCheckLeaks(0, NULL, stdout,false) != 0 ) {
         psError(PS_ERR_UNKNOWN, true,"memory leaks detected.");
         return 20;
Index: trunk/psLib/test/collections/tst_psMetadata_05.c
===================================================================
--- trunk/psLib/test/collections/tst_psMetadata_05.c	(revision 2388)
+++ trunk/psLib/test/collections/tst_psMetadata_05.c	(revision 2392)
@@ -22,6 +22,6 @@
 *  @author  Ross Harman, MHPCC
 *
-*  @version $Revision: 1.9 $  $Name: not supported by cvs2svn $
-*  @date  $Date: 2004-11-04 01:05:00 $
+*  @version $Revision: 1.10 $  $Name: not supported by cvs2svn $
+*  @date  $Date: 2004-11-22 20:54:50 $
 *
 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -266,5 +266,5 @@
     psFree(item7);
     psFree(item8);
-    if ( psMemCheckLeaks(0, NULL, stdout) != 0 ) {
+    if ( psMemCheckLeaks(0, NULL, stdout, false) != 0 ) {
         psError(PS_ERR_UNKNOWN, true,"Memory leaks detected.");
         return 50;
Index: trunk/psLib/test/collections/tst_psMetadata_06.c
===================================================================
--- trunk/psLib/test/collections/tst_psMetadata_06.c	(revision 2388)
+++ trunk/psLib/test/collections/tst_psMetadata_06.c	(revision 2392)
@@ -13,6 +13,6 @@
 *  @author  Ross Harman, MHPCC
 *
-*  @version $Revision: 1.5 $  $Name: not supported by cvs2svn $
-*  @date  $Date: 2004-11-04 01:05:00 $
+*  @version $Revision: 1.6 $  $Name: not supported by cvs2svn $
+*  @date  $Date: 2004-11-22 20:54:50 $
 *
 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -129,5 +129,5 @@
     psFree(item2b);
     psFree(metadata);
-    if ( psMemCheckLeaks(0, NULL, stdout) != 0 ) {
+    if ( psMemCheckLeaks(0, NULL, stdout, false) != 0 ) {
         psError(PS_ERR_UNKNOWN, true,"Memory leaks detected.");
         return 25;
Index: trunk/psLib/test/collections/tst_psVector.c
===================================================================
--- trunk/psLib/test/collections/tst_psVector.c	(revision 2388)
+++ trunk/psLib/test/collections/tst_psVector.c	(revision 2392)
@@ -14,6 +14,6 @@
  *  @author  Ross Harman, MHPCC
  *
- *  @version $Revision: 1.5 $  $Name: not supported by cvs2svn $
- *  @date  $Date: 2004-10-27 00:57:33 $
+ *  @version $Revision: 1.6 $  $Name: not supported by cvs2svn $
+ *  @date  $Date: 2004-11-22 21:07:42 $
  *
  *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -78,5 +78,5 @@
     printPositiveTestHeader(stdout, "psVector", "Free S32 vector");
     psFree(psVec);
-    psS32 leaks = psMemCheckLeaks(0, NULL, stdout);
+    psS32 leaks = psMemCheckLeaks(0, NULL, stdout, false);
     if(leaks != 0) {
         printf("ERROR: Found %d memory leaks\n",leaks);
Index: trunk/psLib/test/collections/tst_psVectorSort_01.c
===================================================================
--- trunk/psLib/test/collections/tst_psVectorSort_01.c	(revision 2388)
+++ trunk/psLib/test/collections/tst_psVectorSort_01.c	(revision 2392)
@@ -10,6 +10,6 @@
  *  @author  Ross Harman, MHPCC
  *
- *  @version $Revision: 1.3 $  $Name: not supported by cvs2svn $
- *  @date  $Date: 2004-10-27 00:57:33 $
+ *  @version $Revision: 1.4 $  $Name: not supported by cvs2svn $
+ *  @date  $Date: 2004-11-22 21:07:42 $
  *
  *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -73,5 +73,8 @@
     psFree(in);
     psFree(out);
-    psMemCheckLeaks(0, NULL, stdout);
+    if ( psMemCheckLeaks(0, NULL, stdout, false)) {
+        psError(PS_ERR_UNKNOWN,true,"Memory leaks detected.");
+        return 10;
+    }
     psS32 nBad = psMemCheckCorruption(0);
     if(nBad) {
Index: trunk/psLib/test/collections/tst_psVectorSort_02.c
===================================================================
--- trunk/psLib/test/collections/tst_psVectorSort_02.c	(revision 2388)
+++ trunk/psLib/test/collections/tst_psVectorSort_02.c	(revision 2392)
@@ -10,6 +10,6 @@
  *  @author  Ross Harman, MHPCC
  *
- *  @version $Revision: 1.4 $  $Name: not supported by cvs2svn $
- *  @date  $Date: 2004-10-27 00:57:33 $
+ *  @version $Revision: 1.5 $  $Name: not supported by cvs2svn $
+ *  @date  $Date: 2004-11-22 21:07:42 $
  *
  *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -61,5 +61,5 @@
     psFree(in);
     psFree(out);
-    psS32 nLeaks = psMemCheckLeaks(0, NULL, stdout);
+    psS32 nLeaks = psMemCheckLeaks(0, NULL, stdout, false);
     if(nLeaks) {
         printf("ERROR: Found %d memory leaks\n", nLeaks);
Index: trunk/psLib/test/collections/tst_psVectorSort_03.c
===================================================================
--- trunk/psLib/test/collections/tst_psVectorSort_03.c	(revision 2388)
+++ trunk/psLib/test/collections/tst_psVectorSort_03.c	(revision 2392)
@@ -12,6 +12,6 @@
  *  @author  Ross Harman, MHPCC
  *
- *  @version $Revision: 1.5 $  $Name: not supported by cvs2svn $
- *  @date  $Date: 2004-10-27 00:57:33 $
+ *  @version $Revision: 1.6 $  $Name: not supported by cvs2svn $
+ *  @date  $Date: 2004-11-22 21:07:42 $
  *
  *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -72,5 +72,5 @@
     psFree(out);
     psFree(out2);
-    psS32 nLeaks = psMemCheckLeaks(0, NULL, stdout);
+    psS32 nLeaks = psMemCheckLeaks(0, NULL, stdout, false);
     if(nLeaks) {
         printf("ERROR: Found %d memory leaks\n", nLeaks);
