Index: /trunk/psLib/test/sysUtils/tst_psError.c
===================================================================
--- /trunk/psLib/test/sysUtils/tst_psError.c	(revision 1881)
+++ /trunk/psLib/test/sysUtils/tst_psError.c	(revision 1882)
@@ -8,11 +8,11 @@
  *     testError02 - psErrorStackPrintV()               (Testpoint #726)
  *     testError03 - psErrorGet(), psErrorLast()        (Testpoint #727)
- *     testError04 - psErrorClear()                     (Testpoint #)
- *     testError05 - psErrorCodeString()                (Testpoint #)
+ *     testError04 - psErrorClear()                     (Testpoint #728)
+ *     testError05 - psErrorCodeString()                (Testpoint #729)
  *
  *  @author  Eric Van Alst, MHPCC
  *
- *  @version $Revision: 1.10 $  $Name: not supported by cvs2svn $
- *  @date  $Date: 2004-09-24 19:46:30 $
+ *  @version $Revision: 1.11 $  $Name: not supported by cvs2svn $
+ *  @date  $Date: 2004-09-24 22:00:42 $
  *
  *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -22,4 +22,5 @@
 #include <stdio.h>
 #include <stdlib.h>
+#include <string.h>
 #include "pslib.h"
 #include "psTest.h"
@@ -264,5 +265,11 @@
     psErrorStackPrint(stderr,"ERROR STACK PRINT Test1E");
 
-    // Call psErrorMsg with
+    // test1F psErrorMsg with a error code less then PS_ERR_BASE(256)
+    if( psErrorMsg("test1F", 9, true, "Errno code = %d", 9) != 9) {
+        psLogMsg("test_psError01", PS_LOG_ERROR, "Failed return with errno code.");
+        return 6;
+    }
+    psErrorStackPrint(stderr,"ERROR STACK PRINT Test1F");
+
     return 0;
 }
Index: /trunk/psLib/test/sysUtils/verified/tst_psError.stderr
===================================================================
--- /trunk/psLib/test/sysUtils/verified/tst_psError.stderr	(revision 1881)
+++ /trunk/psLib/test/sysUtils/verified/tst_psError.stderr	(revision 1882)
@@ -41,4 +41,8 @@
  -> test1E: parameter is out-of-range
      Error code = 262
+<DATE><TIME>|<HOST>|E|test1F
+    Errno code = 9
+ERROR STACK PRINT Test1F -> test1F: Bad file descriptor
+     Errno code = 9
 
 ---> TESTPOINT PASSED (psError{psErrorMsg(),psErrorStackPrint()} | tst_psError.c)
