Changeset 3287
- Timestamp:
- Feb 18, 2005, 12:27:42 PM (21 years ago)
- Location:
- trunk/psLib/test/collections
- Files:
-
- 2 edited
-
tst_psBitSet.c (modified) (2 diffs)
-
verified/tst_psBitSet.stderr (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/test/collections/tst_psBitSet.c
r3285 r3287 17 17 * @author Ross Harman, MHPCC 18 18 * 19 * @version $Revision: 1. 4$ $Name: not supported by cvs2svn $20 * @date $Date: 2005-02-18 2 1:37:15$19 * @version $Revision: 1.5 $ $Name: not supported by cvs2svn $ 20 * @date $Date: 2005-02-18 22:27:42 $ 21 21 * 22 22 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 176 176 } 177 177 178 psLogMsg(__func__,PS_LOG_INFO,"Following should be an error"); 179 if(psBitSetClear(NULL,2) != NULL) { 180 psError(PS_ERR_UNKNOWN,true,"psBitSetClear did not return NULL with NULL bitset"); 181 return 20; 182 } 183 184 psLogMsg(__func__,PS_LOG_INFO,"Following should be an error"); 185 if(psBitSetClear(bs,-3) != bs) { 186 psError(PS_ERR_UNKNOWN,true,"psBitSetClear did not return original bitset"); 187 return 21; 188 } 189 178 190 psLogMsg("testBitSet01b",PS_LOG_INFO,"Following should be an error"); 179 191 psErrorClear(); -
trunk/psLib/test/collections/verified/tst_psBitSet.stderr
r3127 r3287 30 30 000000000000000000000000 31 31 32 <DATE><TIME>|<HOST>|I|testBitSet01b 33 Following should be an error 34 <DATE><TIME>|<HOST>|E|psBitSetClear (FILE:LINENO) 35 Can not operate on a NULL psBitSet. 36 <DATE><TIME>|<HOST>|I|testBitSet01b 37 Following should be an error 38 <DATE><TIME>|<HOST>|E|psBitSetClear (FILE:LINENO) 39 The specified bit position (-3) is invalid. Position must be between 0 and 23. 32 40 <DATE><TIME>|<HOST>|I|testBitSet01b 33 41 Following should be an error
Note:
See TracChangeset
for help on using the changeset viewer.
