Index: /trunk/psLib/test/image/tst_psImageIO.c
===================================================================
--- /trunk/psLib/test/image/tst_psImageIO.c	(revision 1252)
+++ /trunk/psLib/test/image/tst_psImageIO.c	(revision 1253)
@@ -6,6 +6,6 @@
  *  @author Robert DeSonia, MHPCC
  *
- *  @version $Revision: 1.6 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2004-07-15 00:08:43 $
+ *  @version $Revision: 1.7 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2004-07-21 23:49:52 $
  *
  *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -89,17 +89,17 @@
         img4 = psImageCopy(img4,img3,PS_TYPE_##TYP); \
         remove(filename); \
-        if (psImageWriteSection(img3,0,0,1,NULL,0,filename) != 0) { \
+        if (! psImageWriteSection(img3,0,0,1,NULL,0,filename)) { \
             psError(__func__,"Failed to write test image %s",filename); \
             return 1; \
         } \
-        if (psImageWriteSection(img,0,0,0,NULL,0,filename) != 0) { \
+        if (! psImageWriteSection(img,0,0,0,NULL,0,filename)) { \
             psError(__func__,"Failed to write test image %s",filename); \
             return 2; \
         } \
-        if (psImageWriteSection(img,0,0,1,NULL,1,filename) != 0) { \
+        if (! psImageWriteSection(img,0,0,1,NULL,1,filename)) { \
             psError(__func__,"Failed to write test image %s",filename); \
             return 3; \
         } \
-        if (psImageWriteSection(img3,0,0,0,NULL,1,filename) != 0) { \
+        if (! psImageWriteSection(img3,0,0,0,NULL,1,filename)) { \
             psError(__func__,"Failed to write test image %s",filename); \
             return 4; \
@@ -292,9 +292,9 @@
     remove
         ("writeTest.fits");
-    if (psImageWriteSection(img,0,0,0,NULL,0,"tmpImages/writeTest.fits") != 0) {
+    if (! psImageWriteSection(img,0,0,0,NULL,0,"tmpImages/writeTest.fits")) {
         psError(__func__,"Couldn't write writeTest.fits.");
         return 14;
     }
-    if (psImageWriteSection(img2,0,0,0,NULL,0,"tmpImages/writeTest.fits") != 0) {
+    if (! psImageWriteSection(img2,0,0,0,NULL,0,"tmpImages/writeTest.fits")) {
         psError(__func__,"Couldn't overwrite writeTest.fits.");
         return 15;
