Index: /trunk/psLib/test/collections/tst_psList.c
===================================================================
--- /trunk/psLib/test/collections/tst_psList.c	(revision 3083)
+++ /trunk/psLib/test/collections/tst_psList.c	(revision 3084)
@@ -6,6 +6,6 @@
  *  @author Robert DeSonia, MHPCC
  *
- *  @version $Revision: 1.24 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2005-01-25 00:13:12 $
+ *  @version $Revision: 1.25 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2005-01-25 01:02:23 $
  *
  *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -942,4 +942,15 @@
     }
 
+    // Attempt to get next with NULL iterator
+    if ( psListGetNext(NULL) != NULL ) {
+        psError(PS_ERR_UNKNOWN,true,"Did not return NULL when NULL iterator specified");
+        return 24;
+    }
+
+    // Attempt to get previous with NULL iterator
+    if( psListGetPrevious(NULL) != NULL) {
+        psError(PS_ERR_UNKNOWN,true,"Did not return NULL when NULL iterator specified");
+        return 25;
+    }
 
     // 3. set list.cursor to list.tail if where=PS_LIST_TAIL
@@ -993,4 +1004,12 @@
         psError(PS_ERR_UNKNOWN, true,"psListGetPrevious moved cursor beyond head.");
         return 15;
+    }
+    if (psListGetNext(iter) != NULL) {
+        psError(PS_ERR_UNKNOWN,true,"psListGetNext should return NULL when above head");
+        return 22;
+    }
+    if (*(psS32*)psListGetNext(iter) != 0 ) {
+        psError(PS_ERR_UNKNOWN,true,"psListGetNext didn't move cursor to next.");
+        return 23;
     }
 
Index: /trunk/psLib/test/collections/verified/tst_psList.stderr
===================================================================
--- /trunk/psLib/test/collections/verified/tst_psList.stderr	(revision 3083)
+++ /trunk/psLib/test/collections/verified/tst_psList.stderr	(revision 3084)
@@ -96,4 +96,6 @@
 <DATE><TIME>|<HOST>|I|testListIterator
      psListSetIterator/psListGetNext/psListGetPrev shall move the list cursor to the specified location
+<DATE><TIME>|<HOST>|W|psListGetPrevious
+    Attempt to get previous with itertator cursor NULL and offEnd false
 
 ---> TESTPOINT PASSED (psList{psListIterator} | tst_psList.c)
