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