Index: /trunk/psLib/test/collections/tst_psBitSet.c
===================================================================
--- /trunk/psLib/test/collections/tst_psBitSet.c	(revision 3286)
+++ /trunk/psLib/test/collections/tst_psBitSet.c	(revision 3287)
@@ -17,6 +17,6 @@
  *  @author  Ross Harman, MHPCC
  *
- *  @version $Revision: 1.4 $  $Name: not supported by cvs2svn $
- *  @date  $Date: 2005-02-18 21:37:15 $
+ *  @version $Revision: 1.5 $  $Name: not supported by cvs2svn $
+ *  @date  $Date: 2005-02-18 22:27:42 $
  *
  *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
@@ -176,4 +176,16 @@
     }
 
+    psLogMsg(__func__,PS_LOG_INFO,"Following should be an error");
+    if(psBitSetClear(NULL,2) != NULL) {
+        psError(PS_ERR_UNKNOWN,true,"psBitSetClear did not return NULL with NULL bitset");
+        return 20;
+    }
+
+    psLogMsg(__func__,PS_LOG_INFO,"Following should be an error");
+    if(psBitSetClear(bs,-3) != bs) {
+        psError(PS_ERR_UNKNOWN,true,"psBitSetClear did not return original bitset");
+        return 21;
+    }
+
     psLogMsg("testBitSet01b",PS_LOG_INFO,"Following should be an error");
     psErrorClear();
Index: /trunk/psLib/test/collections/verified/tst_psBitSet.stderr
===================================================================
--- /trunk/psLib/test/collections/verified/tst_psBitSet.stderr	(revision 3286)
+++ /trunk/psLib/test/collections/verified/tst_psBitSet.stderr	(revision 3287)
@@ -30,4 +30,12 @@
 000000000000000000000000
 
+<DATE><TIME>|<HOST>|I|testBitSet01b
+    Following should be an error
+<DATE><TIME>|<HOST>|E|psBitSetClear (FILE:LINENO)
+    Can not operate on a NULL psBitSet.
+<DATE><TIME>|<HOST>|I|testBitSet01b
+    Following should be an error
+<DATE><TIME>|<HOST>|E|psBitSetClear (FILE:LINENO)
+    The specified bit position (-3) is invalid.  Position must be between 0 and 23.
 <DATE><TIME>|<HOST>|I|testBitSet01b
     Following should be an error
