Index: trunk/psLib/test/fits/tap_psFits.c
===================================================================
--- trunk/psLib/test/fits/tap_psFits.c	(revision 15693)
+++ trunk/psLib/test/fits/tap_psFits.c	(revision 15708)
@@ -6,6 +6,6 @@
 *  @author Robert DeSonia, MHPCC
 *
-*  @version $Revision: 1.3 $ $Name: not supported by cvs2svn $
-*  @date $Date: 2007-06-13 23:33:22 $
+*  @version $Revision: 1.4 $ $Name: not supported by cvs2svn $
+*  @date $Date: 2007-11-29 01:27:47 $
 *
 *  XXXX: All of the makeTable() tests are failing, as well as one additional one.
@@ -93,4 +93,6 @@
 bool makeTable(void)
 {
+// XXX: Should we be checking for memory leaks in this function?
+//    psMemId id = psMemGetId();
     psFits* fitsFile = psFitsOpen(tableFilename, "w");
     if (fitsFile == NULL) {
@@ -146,5 +148,4 @@
         for (int x=0; x < 4; x++) {
             vec->data.S32[x] = x*10+row;
-            vec->n++;
         }
         psMetadataAdd(header,PS_LIST_TAIL, "MYVEC",
@@ -155,13 +156,11 @@
 
         table->data[row] = header;
-        table->n++;
-    }
-
-    printf("XXX: The following call to psFitsWriteTable() seg faults\n");
-    psFitsWriteTable(fitsFile, NULL, table, NULL);
+    }
+
+    bool rc = psFitsWriteTable(fitsFile, NULL, table, NULL);
 
     psFree(table);
     psFree(fitsFile);
-    return (!psMemCheckLeaks(15,NULL,stderr,false));
+    return(rc);
 }
 
@@ -674,6 +673,5 @@
 
     // tst_psFitsReadTable()
-    // XXXX: This is if'ed out because the call to makeTable() is seg faulting
-    if (0) {
+    if (1) {
         psMemId id = psMemGetId();
         ok(makeTable(), "Created 'table' FITS file");
@@ -739,8 +737,6 @@
     }
 
-
     // tst_psFitsReadTableColumnNum()
-    // XXXX: This is if'ed out because the call to makeTable() is seg faulting
-    if (0) {
+    if (1) {
         psMemId id = psMemGetId();
         ok(makeTable(), "Created 'table' FITS file");
@@ -812,6 +808,5 @@
 
     // tst_psFitsReadTableColumn()
-    // XXXX: This is if'ed out because the call to makeTable() is seg faulting
-    if (0) {
+    if (1) {
         psMemId id = psMemGetId();
         ok(makeTable(), "Created 'table' FITS file");
@@ -899,6 +894,5 @@
 
     // tst_psFitsUpdateTable()
-    // XXXX: This is if'ed out because the call to makeTable() is seg faulting
-    if (0) {
+    if (1) {
         psMemId id = psMemGetId();
         psErr* err;
@@ -929,17 +923,4 @@
             psMetadataAddBool(md,PS_LIST_TAIL,"MYBOOL", 0,"",((row & 1) == 1));
             psMetadataAddStr(md,PS_LIST_TAIL,"MYSTR", 0,"",strValue[row]);
-
-
-
-
-
-
-
-
-
-
-
-
-
 
             if (!psFitsUpdateTable(fits,md,row)) {
