Index: trunk/psLib/test/fileUtils/tst_psFits.c
===================================================================
--- trunk/psLib/test/fileUtils/tst_psFits.c	(revision 3034)
+++ trunk/psLib/test/fileUtils/tst_psFits.c	(revision 3035)
@@ -6,6 +6,6 @@
 *  @author Robert DeSonia, MHPCC
 *
-*  @version $Revision: 1.11 $ $Name: not supported by cvs2svn $
-*  @date $Date: 2005-01-18 19:09:59 $
+*  @version $Revision: 1.12 $ $Name: not supported by cvs2svn $
+*  @date $Date: 2005-01-18 19:12:29 $
 *
 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -867,5 +867,6 @@
         }
 
-        if (boolItem != ((row&0x01) == 0)) {
+        if ( (boolItem && !((row&0x01) == 0)) ||
+                (!boolItem && ((row&0x01) == 0))) {
             psError(PS_ERR_UNKNOWN, true,
                     "Failed to retrieve psBool metadata item from file (row=%d).",
