Index: trunk/psLib/test/collections/tst_psList.c
===================================================================
--- trunk/psLib/test/collections/tst_psList.c	(revision 2681)
+++ trunk/psLib/test/collections/tst_psList.c	(revision 2698)
@@ -6,6 +6,6 @@
  *  @author Robert DeSonia, MHPCC
  *
- *  @version $Revision: 1.19 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2004-12-10 02:50:16 $
+ *  @version $Revision: 1.20 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2004-12-11 01:19:06 $
  *
  *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -981,5 +981,5 @@
 
     printf("original list = [");
-    psListIteratorSet(iter,PS_LIST_HEAD);
+    iter = psListIteratorAlloc(list,PS_LIST_HEAD);
     while( (uValue=psListGetNext(iter)) != NULL ) {
         printf(" %d",*uValue);
@@ -999,5 +999,5 @@
     psU32* prevUValue = psListGetNext(iter);
     while( (uValue=psListGetNext(iter)) != NULL ) {
-        if (*prevUValue < *uValue) {
+        if (*prevUValue > *uValue) {
             psError(PS_ERR_UNKNOWN, true,"Hey, the list wasn't sorted!?");
             return 3;
