Index: /trunk/psLib/test/math/tst_psMinimize06.c
===================================================================
--- /trunk/psLib/test/math/tst_psMinimize06.c	(revision 5182)
+++ /trunk/psLib/test/math/tst_psMinimize06.c	(revision 5183)
@@ -3,4 +3,5 @@
  
     XXX: This code needs a lot of additional test case work.
+    XXX: Use the tst_template.
  *****************************************************************************/
 #include <stdio.h>
@@ -123,8 +124,8 @@
     psTraceSetDestination(1);
     psTraceSetLevel(".", 0);
-    psTraceSetLevel(__func__, 10);
-    psTraceSetLevel("t01", 10);
-    psTraceSetLevel("psMinimizeLMChi2_OLD", 10);
-    psTraceSetLevel("psMinimizeLMChi2", 10);
+    psTraceSetLevel(__func__, 0);
+    psTraceSetLevel("t01", 0);
+    psTraceSetLevel("psMinimizeLMChi2_OLD", 0);
+    psTraceSetLevel("psMinimizeLMChi2", 0);
     psTraceSetLevel("psMinimizeGaussNewtonDelta", 0);
     psTraceSetLevel("psMinimizeGaussNewtonDelta_EAM", 0);
Index: /trunk/psLib/test/math/tst_psSpline1D.c
===================================================================
--- /trunk/psLib/test/math/tst_psSpline1D.c	(revision 5182)
+++ /trunk/psLib/test/math/tst_psSpline1D.c	(revision 5183)
@@ -13,6 +13,6 @@
 *  @author GLG, MHPCC
 *
-*  @version $Revision: 1.2 $ $Name: not supported by cvs2svn $
-*  @date $Date: 2005-09-29 20:20:32 $
+*  @version $Revision: 1.3 $ $Name: not supported by cvs2svn $
+*  @date $Date: 2005-09-29 20:25:54 $
 *
 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
@@ -137,8 +137,4 @@
 psS32 psSplineEvalTest_sub00(psS32 NumSplines)
 {
-    printf("\n");
-    printf("psSplineEvalTest_sub00(): We test the psVectorFitSpline1D, psSpline1DEval() functions with a very\n");
-    printf("simple x->y mapping (defined by myFunc00()).  We do this for both F32\n");
-    printf("and F64 versions of the input x and y vectors.\n");
     psS32 testStatus = true;
     psS32 memLeaks=0;
@@ -152,4 +148,17 @@
     psSpline1D *tmpSpline = NULL;
 
+    printf("\n");
+    printf("Calling psVectorFitSpline1D() with NULL y-vector.  Should generate error.\n");
+    tmpSpline = psVectorFitSpline1D(NULL, NULL);
+    if (tmpSpline != NULL) {
+        printf("TEST ERROR: psVectorFitSpline1D() did not return NULL.\n");
+        testStatus = false;
+        psFree(tmpSpline);
+    }
+
+    printf("\n");
+    printf("psSplineEvalTest_sub00(): We test the psVectorFitSpline1D, psSpline1DEval() functions with a very\n");
+    printf("simple x->y mapping (defined by myFunc00()).  We do this for both F32\n");
+    printf("and F64 versions of the input x and y vectors.\n");
     /****************************************************************************/
     /*    PS_TYPE_F32, PS_TYPE_F32 test          */
Index: /trunk/psLib/test/math/verified/tst_psSpline1D.stderr
===================================================================
--- /trunk/psLib/test/math/verified/tst_psSpline1D.stderr	(revision 5182)
+++ /trunk/psLib/test/math/verified/tst_psSpline1D.stderr	(revision 5183)
@@ -14,4 +14,6 @@
 \**********************************************************************************/
 
+<HOST>|E|psVectorFitSpline1D (FILE:LINENO)
+    Unallowable operation: psVector y or its data is NULL.
 
 ---> TESTPOINT PASSED (psSpline1D{(TEST B) psSplineEvalTest} | tst_psSpline1D.c)
Index: /trunk/psLib/test/math/verified/tst_psSpline1D.stdout
===================================================================
--- /trunk/psLib/test/math/verified/tst_psSpline1D.stdout	(revision 5182)
+++ /trunk/psLib/test/math/verified/tst_psSpline1D.stdout	(revision 5183)
@@ -1,2 +1,4 @@
+
+Calling psVectorFitSpline1D() with NULL y-vector.  Should generate error.
 
 psSplineEvalTest_sub00(): We test the psVectorFitSpline1D, psSpline1DEval() functions with a very
