Index: /trunk/psLib/test/collections/tst_psArray_01.c
===================================================================
--- /trunk/psLib/test/collections/tst_psArray_01.c	(revision 619)
+++ /trunk/psLib/test/collections/tst_psArray_01.c	(revision 620)
@@ -12,6 +12,6 @@
  *  @author  Ross Harman, MHPCC
  *
- *  @version $Revision: 1.1 $  $Name: not supported by cvs2svn $
- *  @date  $Date: 2004-05-05 20:39:09 $
+ *  @version $Revision: 1.2 $  $Name: not supported by cvs2svn $
+ *  @date  $Date: 2004-05-08 01:19:28 $
  *
  *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -68,4 +68,8 @@
     psIntArrayFree(psArr);
     psMemCheckLeaks(0, NULL, stdout);
+    int nBad = psMemCheckCorruption(0);
+    if(nBad) {
+        printf("ERROR: Found %d bad memory blocks\n", nBad);
+    }
     printFooter(stdout, "psArray" ,"Free integer array", true);
 
Index: /trunk/psLib/test/collections/tst_psArray_02.c
===================================================================
--- /trunk/psLib/test/collections/tst_psArray_02.c	(revision 619)
+++ /trunk/psLib/test/collections/tst_psArray_02.c	(revision 620)
@@ -12,6 +12,6 @@
  *  @author  Ross Harman, MHPCC
  *
- *  @version $Revision: 1.1 $  $Name: not supported by cvs2svn $
- *  @date  $Date: 2004-05-05 20:39:09 $
+ *  @version $Revision: 1.2 $  $Name: not supported by cvs2svn $
+ *  @date  $Date: 2004-05-08 01:19:28 $
  *
  *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -70,4 +70,8 @@
     psFloatArrayFree(psArr);
     psMemCheckLeaks(0, NULL, stdout);
+    int nBad = psMemCheckCorruption(0);
+    if(nBad) {
+        printf("ERROR: Found %d bad memory blocks\n", nBad);
+    }
     printFooter(stdout, "psArray","Free float array",true);
 
Index: /trunk/psLib/test/collections/tst_psArray_03.c
===================================================================
--- /trunk/psLib/test/collections/tst_psArray_03.c	(revision 619)
+++ /trunk/psLib/test/collections/tst_psArray_03.c	(revision 620)
@@ -12,6 +12,6 @@
  *  @author  Ross Harman, MHPCC
  *
- *  @version $Revision: 1.1 $  $Name: not supported by cvs2svn $
- *  @date  $Date: 2004-05-05 20:39:09 $
+ *  @version $Revision: 1.2 $  $Name: not supported by cvs2svn $
+ *  @date  $Date: 2004-05-08 01:19:28 $
  *
  *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -69,4 +69,8 @@
     psDoubleArrayFree(psArr);
     psMemCheckLeaks(0, NULL, stdout);
+    int nBad = psMemCheckCorruption(0);
+    if(nBad) {
+        printf("ERROR: Found %d bad memory blocks\n", nBad);
+    }
     printFooter(stdout, "psArray","Free double array",true);
 
Index: /trunk/psLib/test/collections/tst_psArray_04.c
===================================================================
--- /trunk/psLib/test/collections/tst_psArray_04.c	(revision 619)
+++ /trunk/psLib/test/collections/tst_psArray_04.c	(revision 620)
@@ -12,6 +12,6 @@
  *  @author  Ross Harman, MHPCC
  *
- *  @version $Revision: 1.1 $  $Name: not supported by cvs2svn $
- *  @date  $Date: 2004-05-05 20:39:09 $
+ *  @version $Revision: 1.2 $  $Name: not supported by cvs2svn $
+ *  @date  $Date: 2004-05-08 01:19:28 $
  *
  *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -69,4 +69,8 @@
     psComplexArrayFree(psArr);
     psMemCheckLeaks(0, NULL, stdout);
+    int nBad = psMemCheckCorruption(0);
+    if(nBad) {
+        printf("ERROR: Found %d bad memory blocks\n", nBad);
+    }
     printFooter(stdout, "psArray","Free complex array",true);
 
Index: /trunk/psLib/test/collections/tst_psArray_05.c
===================================================================
--- /trunk/psLib/test/collections/tst_psArray_05.c	(revision 619)
+++ /trunk/psLib/test/collections/tst_psArray_05.c	(revision 620)
@@ -12,6 +12,6 @@
  *  @author  Ross Harman, MHPCC
  *
- *  @version $Revision: 1.1 $  $Name: not supported by cvs2svn $
- *  @date  $Date: 2004-05-05 20:39:09 $
+ *  @version $Revision: 1.2 $  $Name: not supported by cvs2svn $
+ *  @date  $Date: 2004-05-08 01:19:28 $
  *
  *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -102,4 +102,8 @@
     }
     psMemCheckLeaks(0, NULL, stdout);
+    int nBad = psMemCheckCorruption(0);
+    if(nBad) {
+        printf("ERROR: Found %d bad memory blocks\n", nBad);
+    }
     printFooter(stdout, "psArray", "Free void pointer array", true);
 
Index: /trunk/psLib/test/collections/tst_psArray_06.c
===================================================================
--- /trunk/psLib/test/collections/tst_psArray_06.c	(revision 619)
+++ /trunk/psLib/test/collections/tst_psArray_06.c	(revision 620)
@@ -12,6 +12,6 @@
  *  @author  Ross Harman, MHPCC
  *
- *  @version $Revision: 1.1 $  $Name: not supported by cvs2svn $
- *  @date  $Date: 2004-05-05 20:39:09 $
+ *  @version $Revision: 1.2 $  $Name: not supported by cvs2svn $
+ *  @date  $Date: 2004-05-08 01:19:28 $
  *
  *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -111,4 +111,8 @@
     }
     psMemCheckLeaks(0, NULL, stdout);
+    int nBad = psMemCheckCorruption(0);
+    if(nBad) {
+        printf("ERROR: Found %d bad memory blocks\n", nBad);
+    }
     printFooter(stdout, "psArray", "Free void pointer array with function callback", true);
 
Index: /trunk/psLib/test/collections/tst_psBitSet_01.c
===================================================================
--- /trunk/psLib/test/collections/tst_psBitSet_01.c	(revision 619)
+++ /trunk/psLib/test/collections/tst_psBitSet_01.c	(revision 620)
@@ -11,6 +11,6 @@
  *  @author  Ross Harman, MHPCC
  *
- *  @version $Revision: 1.1 $  $Name: not supported by cvs2svn $
- *  @date  $Date: 2004-05-05 20:39:09 $
+ *  @version $Revision: 1.2 $  $Name: not supported by cvs2svn $
+ *  @date  $Date: 2004-05-08 01:19:28 $
  *
  *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -58,4 +58,9 @@
     psBitSetFree(bs);
     psMemCheckLeaks(0, NULL, stdout);
+    psMemCheckCorruption(0);
+    int nBad = psMemCheckCorruption(0);
+    if(nBad) {
+        printf("ERROR: Found %d bad memory blocks\n", nBad);
+    }
     printFooter(stdout, "psBitSet", "Free psBitSet", true);
 
Index: /trunk/psLib/test/collections/tst_psBitSet_02.c
===================================================================
--- /trunk/psLib/test/collections/tst_psBitSet_02.c	(revision 619)
+++ /trunk/psLib/test/collections/tst_psBitSet_02.c	(revision 620)
@@ -10,6 +10,6 @@
  *  @author  Ross Harman, MHPCC
  *
- *  @version $Revision: 1.1 $  $Name: not supported by cvs2svn $
- *  @date  $Date: 2004-05-05 20:39:09 $
+ *  @version $Revision: 1.2 $  $Name: not supported by cvs2svn $
+ *  @date  $Date: 2004-05-08 01:19:28 $
  *
  *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -67,4 +67,8 @@
     psBitSetFree(outbs);
     psMemCheckLeaks(0, NULL, stdout);
+    int nBad = psMemCheckCorruption(0);
+    if(nBad) {
+        printf("ERROR: Found %d bad memory blocks\n", nBad);
+    }
     printFooter(stdout, "psBitSet", "Free psBitSets", true);
 
Index: /trunk/psLib/test/collections/tst_psBitSet_03.c
===================================================================
--- /trunk/psLib/test/collections/tst_psBitSet_03.c	(revision 619)
+++ /trunk/psLib/test/collections/tst_psBitSet_03.c	(revision 620)
@@ -10,6 +10,6 @@
  *  @author  Ross Harman, MHPCC
  *
- *  @version $Revision: 1.1 $  $Name: not supported by cvs2svn $
- *  @date  $Date: 2004-05-05 20:39:09 $
+ *  @version $Revision: 1.2 $  $Name: not supported by cvs2svn $
+ *  @date  $Date: 2004-05-08 01:19:28 $
  *
  *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -67,4 +67,8 @@
     psBitSetFree(outbs);
     psMemCheckLeaks(0, NULL, stdout);
+    int nBad = psMemCheckCorruption(0);
+    if(nBad) {
+        printf("ERROR: Found %d bad memory blocks\n", nBad);
+    }
     printFooter(stdout, "psBitSet", "Free psBitSets", true);
 
Index: /trunk/psLib/test/collections/tst_psBitSet_04.c
===================================================================
--- /trunk/psLib/test/collections/tst_psBitSet_04.c	(revision 619)
+++ /trunk/psLib/test/collections/tst_psBitSet_04.c	(revision 620)
@@ -10,6 +10,6 @@
  *  @author  Ross Harman, MHPCC
  *
- *  @version $Revision: 1.1 $  $Name: not supported by cvs2svn $
- *  @date  $Date: 2004-05-05 20:39:09 $
+ *  @version $Revision: 1.2 $  $Name: not supported by cvs2svn $
+ *  @date  $Date: 2004-05-08 01:19:28 $
  *
  *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -67,4 +67,8 @@
     psBitSetFree(outbs);
     psMemCheckLeaks(0, NULL, stdout);
+    int nBad = psMemCheckCorruption(0);
+    if(nBad) {
+        printf("ERROR: Found %d bad memory blocks\n", nBad);
+    }
     printFooter(stdout, "psBitSet", "Free psBitSets", true);
 
Index: /trunk/psLib/test/collections/tst_psBitSet_05.c
===================================================================
--- /trunk/psLib/test/collections/tst_psBitSet_05.c	(revision 619)
+++ /trunk/psLib/test/collections/tst_psBitSet_05.c	(revision 620)
@@ -10,6 +10,6 @@
  *  @author  Ross Harman, MHPCC
  *
- *  @version $Revision: 1.1 $  $Name: not supported by cvs2svn $
- *  @date  $Date: 2004-05-05 20:39:09 $
+ *  @version $Revision: 1.2 $  $Name: not supported by cvs2svn $
+ *  @date  $Date: 2004-05-08 01:19:28 $
  *
  *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -52,4 +52,8 @@
     psBitSetFree(outbs);
     psMemCheckLeaks(0, NULL, stdout);
+    int nBad = psMemCheckCorruption(0);
+    if(nBad) {
+        printf("ERROR: Found %d bad memory blocks\n", nBad);
+    }
     printFooter(stdout, "psBitSet", "Free psBitSets", true);
 
Index: /trunk/psLib/test/collections/tst_psBitSet_06.c
===================================================================
--- /trunk/psLib/test/collections/tst_psBitSet_06.c	(revision 619)
+++ /trunk/psLib/test/collections/tst_psBitSet_06.c	(revision 620)
@@ -10,6 +10,6 @@
  *  @author  Ross Harman, MHPCC
  *
- *  @version $Revision: 1.1 $  $Name: not supported by cvs2svn $
- *  @date  $Date: 2004-05-05 20:39:09 $
+ *  @version $Revision: 1.2 $  $Name: not supported by cvs2svn $
+ *  @date  $Date: 2004-05-08 01:19:28 $
  *
  *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -53,4 +53,8 @@
     psBitSetFree(outbs);
     psMemCheckLeaks(0, NULL, stdout);
+    int nBad = psMemCheckCorruption(0);
+    if(nBad) {
+        printf("ERROR: Found %d bad memory blocks\n", nBad);
+    }
     printFooter(stdout, "psBitSet", "Free psBitSetFree psBitSets", true);
 
Index: /trunk/psLib/test/collections/tst_psSort_01.c
===================================================================
--- /trunk/psLib/test/collections/tst_psSort_01.c	(revision 619)
+++ /trunk/psLib/test/collections/tst_psSort_01.c	(revision 620)
@@ -10,6 +10,6 @@
  *  @author  Ross Harman, MHPCC
  *
- *  @version $Revision: 1.1 $  $Name: not supported by cvs2svn $
- *  @date  $Date: 2004-05-05 20:39:09 $
+ *  @version $Revision: 1.2 $  $Name: not supported by cvs2svn $
+ *  @date  $Date: 2004-05-08 01:19:28 $
  *
  *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -58,4 +58,8 @@
     psFloatArrayFree(out);
     psMemCheckLeaks(0, NULL, stdout);
+    int nBad = psMemCheckCorruption(0);
+    if(nBad) {
+        printf("ERROR: Found %d bad memory blocks\n", nBad);
+    }
     printFooter(stdout, "psSort", "Free float arrays", true);
 
Index: /trunk/psLib/test/collections/tst_psSort_02.c
===================================================================
--- /trunk/psLib/test/collections/tst_psSort_02.c	(revision 619)
+++ /trunk/psLib/test/collections/tst_psSort_02.c	(revision 620)
@@ -10,6 +10,6 @@
  *  @author  Ross Harman, MHPCC
  *
- *  @version $Revision: 1.1 $  $Name: not supported by cvs2svn $
- *  @date  $Date: 2004-05-05 20:39:09 $
+ *  @version $Revision: 1.2 $  $Name: not supported by cvs2svn $
+ *  @date  $Date: 2004-05-08 01:19:28 $
  *
  *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -58,4 +58,8 @@
     psIntArrayFree(out);
     psMemCheckLeaks(0, NULL, stdout);
+    int nBad = psMemCheckCorruption(0);
+    if(nBad) {
+        printf("ERROR: Found %d bad memory blocks\n", nBad);
+    }
     printFooter(stdout, "psSort", "Free arrays", true);
 
Index: /trunk/psLib/test/collections/tst_psSort_03.c
===================================================================
--- /trunk/psLib/test/collections/tst_psSort_03.c	(revision 619)
+++ /trunk/psLib/test/collections/tst_psSort_03.c	(revision 620)
@@ -10,6 +10,6 @@
  *  @author  Ross Harman, MHPCC
  *
- *  @version $Revision: 1.1 $  $Name: not supported by cvs2svn $
- *  @date  $Date: 2004-05-05 20:39:09 $
+ *  @version $Revision: 1.2 $  $Name: not supported by cvs2svn $
+ *  @date  $Date: 2004-05-08 01:19:28 $
  *
  *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -52,4 +52,8 @@
     psFloatArrayFree(out);
     psMemCheckLeaks(0, NULL, stdout);
+    int nBad = psMemCheckCorruption(0);
+    if(nBad) {
+        printf("ERROR: Found %d bad memory blocks\n", nBad);
+    }
     printFooter(stdout, "psSort", "Free float arrays", true);
 
Index: /trunk/psLib/test/collections/tst_psSort_04.c
===================================================================
--- /trunk/psLib/test/collections/tst_psSort_04.c	(revision 619)
+++ /trunk/psLib/test/collections/tst_psSort_04.c	(revision 620)
@@ -10,6 +10,6 @@
  *  @author  Ross Harman, MHPCC
  *
- *  @version $Revision: 1.1 $  $Name: not supported by cvs2svn $
- *  @date  $Date: 2004-05-05 20:39:09 $
+ *  @version $Revision: 1.2 $  $Name: not supported by cvs2svn $
+ *  @date  $Date: 2004-05-08 01:19:28 $
  *
  *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -45,4 +45,10 @@
     psFloatArrayFree(goodOut);
     psMemCheckLeaks(0, NULL, stdout);
+    int nBad = psMemCheckCorruption(0);
+    if(nBad) {
+        printf("ERROR: Found %d bad memory blocks\n", nBad);
+    }
     printFooter(stdout, "psSort", "Free arays", true);
+
+    return 0;
 }
