Index: /trunk/psLib/test/image/tst_psImageManip.c
===================================================================
--- /trunk/psLib/test/image/tst_psImageManip.c	(revision 1894)
+++ /trunk/psLib/test/image/tst_psImageManip.c	(revision 1895)
@@ -6,6 +6,6 @@
  *  @author Robert DeSonia, MHPCC
  *
- *  @version $Revision: 1.17 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2004-09-25 00:43:55 $
+ *  @version $Revision: 1.18 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2004-09-25 01:13:14 $
  *
  *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -318,4 +318,15 @@
     }
 
+    // Verify program execution doesn't stop if the input image type is something
+    // other than F32, F64, C32, C64.
+    img = psImageAlloc(c,r,PS_TYPE_S32);
+    psLogMsg(__func__,PS_LOG_INFO,"Following should be an error (invalid type)");
+    retVal = psImageClipNaN(img,2.0f);
+    if (retVal != 0) {
+        psError(__func__,"Expected zero return for clip of invalid image type.");
+        return 4;
+    }
+    psFree(img);
+
     return 0;
 }
Index: /trunk/psLib/test/image/verified/tst_psImageManip.stderr
===================================================================
--- /trunk/psLib/test/image/verified/tst_psImageManip.stderr	(revision 1894)
+++ /trunk/psLib/test/image/verified/tst_psImageManip.stderr	(revision 1895)
@@ -42,4 +42,8 @@
 <DATE><TIME>|<HOST>|I|testImageClipNAN
     psImageClipNaN shall modified pixel values of NaN with a specified value
+<DATE><TIME>|<HOST>|I|testImageClipNAN
+    Following should be an error (invalid type)
+<DATE><TIME>|<HOST>|E|psLib.image.psImageClipNaN
+    Specified psImage type (psS32) is not supported.
 
 ---> TESTPOINT PASSED (psImage{psImageClipNAN} | tst_psImageManip.c)
