Index: /trunk/psLib/test/collections/tst_psArray.c
===================================================================
--- /trunk/psLib/test/collections/tst_psArray.c	(revision 2353)
+++ /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
Index: /trunk/psLib/test/collections/verified/tst_psArray.stderr
===================================================================
--- /trunk/psLib/test/collections/verified/tst_psArray.stderr	(revision 2354)
+++ /trunk/psLib/test/collections/verified/tst_psArray.stderr	(revision 2354)
@@ -0,0 +1,4 @@
+<DATE><TIME>|<HOST>|I|main
+    Following should generate an error message.
+<DATE><TIME>|<HOST>|E|psArrayRealloc (psArray.c:<LINENO>)
+    psArrayRealloc must be given a non-NULL psArray to resize.
Index: /trunk/psLib/test/collections/verified/tst_psArray.stdout
===================================================================
--- /trunk/psLib/test/collections/verified/tst_psArray.stdout	(revision 2353)
+++ /trunk/psLib/test/collections/verified/tst_psArray.stdout	(revision 2354)
@@ -62,4 +62,15 @@
 /***************************** TESTPOINT ******************************************\
 *             TestFile: tst_psArray.c                                              *
+*            TestPoint: psArray{Reallocate with a null array}                      *
+*             TestType: Negative                                                   *
+*    ExpectedErrorText: Error message generator                                    *
+*  ExpectedStatusValue: 0                                                          *
+\**********************************************************************************/
+
+
+---> TESTPOINT PASSED (psArray{Reallocate with a null array} | tst_psArray.c)
+
+/***************************** TESTPOINT ******************************************\
+*             TestFile: tst_psArray.c                                              *
 *            TestPoint: psArray{Free void pointer array}                           *
 *             TestType: Positive                                                   *
