Index: /trunk/psLib/test/collections/tst_psList.c
===================================================================
--- /trunk/psLib/test/collections/tst_psList.c	(revision 3082)
+++ /trunk/psLib/test/collections/tst_psList.c	(revision 3083)
@@ -6,6 +6,6 @@
  *  @author Robert DeSonia, MHPCC
  *
- *  @version $Revision: 1.23 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2005-01-20 01:48:38 $
+ *  @version $Revision: 1.24 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2005-01-25 00:13:12 $
  *
  *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -936,6 +936,4 @@
 
     // 1. output error message and do nothing if iterator=NULL
-    psLogMsg(__func__,PS_LOG_INFO,"Following should error with "
-             "'Unexpected null pointer'");
     psListIteratorSet(NULL,PS_LIST_HEAD);
     if (psListIteratorSet(NULL,PS_LIST_HEAD)) {
@@ -1002,7 +1000,19 @@
         return 16;
     }
-    if (psListGetNext(iter) != NULL) {
+    if ((psListGetNext(iter) != NULL) || (!iter->offEnd)) {
         psError(PS_ERR_UNKNOWN, true,"psListGetNext moved cursor beyond tail.");
         return 17;
+    }
+    if(psListGetPrevious(iter) != NULL) {
+        psError(PS_ERR_UNKNOWN,true,"psListGetPrevious did not return NULL when offEnd is true");
+        return 18;
+    }
+    if(iter->offEnd) {
+        psError(PS_ERR_UNKNOWN,true,"psListGetPrevious did not move back onto the list.");
+        return 19;
+    }
+    if(*(psS32*)psListGetPrevious(iter) != 14) {
+        psError(PS_ERR_UNKNOWN,true,"psListGetPrevious did not return correct value of tail.");
+        return 20;
     }
 
Index: /trunk/psLib/test/collections/verified/tst_psList.stderr
===================================================================
--- /trunk/psLib/test/collections/verified/tst_psList.stderr	(revision 3082)
+++ /trunk/psLib/test/collections/verified/tst_psList.stderr	(revision 3083)
@@ -96,6 +96,4 @@
 <DATE><TIME>|<HOST>|I|testListIterator
      psListSetIterator/psListGetNext/psListGetPrev shall move the list cursor to the specified location
-<DATE><TIME>|<HOST>|I|testListIterator
-    Following should error with 'Unexpected null pointer'
 
 ---> TESTPOINT PASSED (psList{psListIterator} | tst_psList.c)
