Changeset 1882 for trunk/psLib/test/sysUtils/tst_psError.c
- Timestamp:
- Sep 24, 2004, 12:00:42 PM (22 years ago)
- File:
-
- 1 edited
-
trunk/psLib/test/sysUtils/tst_psError.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/test/sysUtils/tst_psError.c
r1878 r1882 8 8 * testError02 - psErrorStackPrintV() (Testpoint #726) 9 9 * testError03 - psErrorGet(), psErrorLast() (Testpoint #727) 10 * testError04 - psErrorClear() (Testpoint # )11 * testError05 - psErrorCodeString() (Testpoint # )10 * testError04 - psErrorClear() (Testpoint #728) 11 * testError05 - psErrorCodeString() (Testpoint #729) 12 12 * 13 13 * @author Eric Van Alst, MHPCC 14 14 * 15 * @version $Revision: 1.1 0$ $Name: not supported by cvs2svn $16 * @date $Date: 2004-09-24 19:46:30$15 * @version $Revision: 1.11 $ $Name: not supported by cvs2svn $ 16 * @date $Date: 2004-09-24 22:00:42 $ 17 17 * 18 18 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 22 22 #include <stdio.h> 23 23 #include <stdlib.h> 24 #include <string.h> 24 25 #include "pslib.h" 25 26 #include "psTest.h" … … 264 265 psErrorStackPrint(stderr,"ERROR STACK PRINT Test1E"); 265 266 266 // Call psErrorMsg with 267 // test1F psErrorMsg with a error code less then PS_ERR_BASE(256) 268 if( psErrorMsg("test1F", 9, true, "Errno code = %d", 9) != 9) { 269 psLogMsg("test_psError01", PS_LOG_ERROR, "Failed return with errno code."); 270 return 6; 271 } 272 psErrorStackPrint(stderr,"ERROR STACK PRINT Test1F"); 273 267 274 return 0; 268 275 }
Note:
See TracChangeset
for help on using the changeset viewer.
