Index: /trunk/psLib/test/sysUtils/tst_psError.c
===================================================================
--- /trunk/psLib/test/sysUtils/tst_psError.c	(revision 1874)
+++ /trunk/psLib/test/sysUtils/tst_psError.c	(revision 1875)
@@ -5,13 +5,14 @@
  *  This test driver contains the following test points for psError
  *     testError00 - psError()                          (Testpoint #486)
- *     testError01 - psErrorMsg(), psErrorStackPrint()  (Testpoint #   )
- *     testError02 - psErrorStackPrintV()               (Testpoint #   )
- *     testError03 - psErrorGet(), psErrorLast()        (Testpoint #   )
- *     testError04 - psErrorClear()                     (Testpoint #   )
+ *     testError01 - psErrorMsg(), psErrorStackPrint()  (Testpoint #725)
+ *     testError02 - psErrorStackPrintV()               (Testpoint #726)
+ *     testError03 - psErrorGet(), psErrorLast()        (Testpoint #)
+ *     testError04 - psErrorClear()                     (Testpoint #)
+ *     testError05 - psErrorCodeString()                (Testpoint #)
  *
  *  @author  Eric Van Alst, MHPCC
  *
- *  @version $Revision: 1.8 $  $Name: not supported by cvs2svn $
- *  @date  $Date: 2004-09-24 01:08:25 $
+ *  @version $Revision: 1.9 $  $Name: not supported by cvs2svn $
+ *  @date  $Date: 2004-09-24 02:00:15 $
  *
  *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -123,6 +124,5 @@
     psErrorCode code = PS_ERR_BAD_PARAMETER_VALUE;
     psErr *last = NULL;
-    psErr *get
-    = NULL;
+    psErr *getErr = NULL;
 
     // Attempt to get last error message with an empty stack verify psErr with code PS_ERR_NONE
@@ -135,24 +135,18 @@
 
     // Attempt to get specific error message with empty stack verify psErr with code PS_ERR_NONE
-    get
-        = psErrorGet(2);
-    if(get
-            ->code != PS_ERR_NONE) {
+    getErr= psErrorGet(2);
+    if(getErr->code != PS_ERR_NONE) {
         psLogMsg("tst_psError03", PS_LOG_ERROR, "psErrorGet did not return PS_ERR_NONE  for empty stack");
         return 21;
     }
-    psFree(get
-          );
+    psFree(getErr);
 
     // Attempt to get error message with invalid index and an empty stack
-    get
-        = psErrorGet(-1);
-    if(get
-            ->code != PS_ERR_NONE) {
+    getErr= psErrorGet(-1);
+    if(getErr->code != PS_ERR_NONE) {
         psLogMsg("tst_psError03", PS_LOG_ERROR, "psErrorGet with invalid index/empty stack");
         return 22;
     }
-    psFree(get
-          );
+    psFree(getErr);
 
     // Generate three error messages
@@ -171,44 +165,35 @@
 
     last = psErrorLast();
-    get
-        = psErrorGet(0);
+    getErr= psErrorGet(0);
 
     // Check that last and get with 0 index are equal
-    if(last != get
-          ) {
-            psLogMsg("tst_psError03", PS_LOG_ERROR, "psErrorGet(0) not equal to psErrorLast");
-            return 26;
-        }
+    if(last != getErr) {
+        psLogMsg("tst_psError03", PS_LOG_ERROR, "psErrorGet(0) not equal to psErrorLast");
+        return 26;
+    }
     psFree(last);
 
     // Verify the last error message was returned
-    if ( last->code != (code+2) ) {
+    if ( getErr->code != (code+2) ) {
         psLogMsg("tst_psError03", PS_LOG_ERROR, "psErrorLast() did not retrieve last error");
         return 27;
     }
-    psFree(get
-          );
+    psFree(getErr);
 
     // Verify the middle error message can be retrieved
-    get
-        = psErrorGet(1);
-    if ( get
-                ->code != (code+1)) {
-            psLogMsg("tst_psError03", PS_LOG_ERROR, "psErrorGet() did not retrieve proper error");
-            return 28;
-        }
-    psFree(get
-          );
+    getErr= psErrorGet(1);
+    if ( getErr->code != (code+1)) {
+        psLogMsg("tst_psError03", PS_LOG_ERROR, "psErrorGet() did not retrieve proper error");
+        return 28;
+    }
+    psFree(getErr);
 
     // Verify the psErrorGet returns NULL if an invalid index is given
-    get
-        = psErrorGet(-1);
-    if ( get
-                ->code != PS_ERR_NONE ) {
-            psLogMsg("tst_psError03", PS_LOG_ERROR, "psErrorGet() did not return PS_ERR_NONE w/ invalid arg");
-            return 29;
-        }
-    psFree(get
-          );
+    getErr= psErrorGet(-1);
+    if ( getErr->code != PS_ERR_NONE ) {
+        psLogMsg("tst_psError03", PS_LOG_ERROR, "psErrorGet() did not return PS_ERR_NONE w/ invalid arg");
+        return 29;
+    }
+    psFree(getErr);
 
     return 0;
