Index: trunk/psLib/test/collections/tst_psArray.c
===================================================================
--- trunk/psLib/test/collections/tst_psArray.c	(revision 2273)
+++ trunk/psLib/test/collections/tst_psArray.c	(revision 2354)
@@ -12,6 +12,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-12 22:28:16 $
  *
  *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -37,5 +37,5 @@
     // Create array of pointers
     testStruct *mySt[10];
-
+    psArray *psArr1 = NULL;
 
     // Test A - Create void pointer array
@@ -138,4 +138,13 @@
     printFooter(stdout, "psArray", "Reallocate integer void pointer smaller", true);
 
+    // Test D1 - Reallocate with a null
+    printNegativeTestHeader(stdout,"psArray","Reallocate with a null array",
+                            "Error message generator", 0 );
+    psLogMsg(__func__,PS_LOG_INFO,"Following should generate an error message.");
+    psArr1 = psArrayRealloc(NULL,5);
+    if ( psArr1 != NULL ) {
+        printf("ERROR: Return is not NULL\n");
+    }
+    printFooter(stdout,"psArray","Reallocate with a null array",true);
 
     // Test E - Free void pointer array
