Index: trunk/psLib/test/dataIO/tst_psFits.c
===================================================================
--- trunk/psLib/test/dataIO/tst_psFits.c	(revision 3682)
+++ trunk/psLib/test/dataIO/tst_psFits.c	(revision 4104)
@@ -6,6 +6,6 @@
 *  @author Robert DeSonia, MHPCC
 *
-*  @version $Revision: 1.24 $ $Name: not supported by cvs2svn $
-*  @date $Date: 2005-04-07 20:27:42 $
+*  @version $Revision: 1.25 $ $Name: not supported by cvs2svn $
+*  @date $Date: 2005-06-03 23:27:20 $
 *
 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
@@ -251,4 +251,11 @@
     }
 
+    // Attempt to allocate with NULL filename
+    psLogMsg(__func__,PS_LOG_INFO,"Following should generate an error message");
+    fitsFile = psFitsAlloc(NULL);
+    if(fitsFile != NULL) {
+        psError(PS_ERR_UNKNOWN,true,"psFitsAlloc did not return NULL for NULL input");
+        return 5;
+    }
 
     return 0;
