Index: /trunk/glueforge/templates/psdb/popfits_c.tt
===================================================================
--- /trunk/glueforge/templates/psdb/popfits_c.tt	(revision 4248)
+++ /trunk/glueforge/templates/psdb/popfits_c.tt	(revision 4249)
@@ -7,5 +7,4 @@
     psDB            *dbh;
     psFits          *fits;
-    bool            status;
 
     dbh = psDBInit("localhost", "test", NULL, "test");
@@ -20,6 +19,5 @@
     }
 
-    status = [% namespace %]PopFits(dbh, fits, 1);
-    if (!status) {
+    if (![% namespace %]PopFits(dbh, fits, 1)) {
         exit(EXIT_FAILURE);
     }
Index: /trunk/glueforge/templates/psdb/tests_makefile_am.tt
===================================================================
--- /trunk/glueforge/templates/psdb/tests_makefile_am.tt	(revision 4248)
+++ /trunk/glueforge/templates/psdb/tests_makefile_am.tt	(revision 4249)
@@ -53,5 +53,6 @@
     pop \
     insertobject \
-    popobject
+    popobject \
+    popfits
 
 AM_CPPFLAGS = -I$(top_srcdir)/src$
