Index: /trunk/psLib/test/astronomy/tst_psTime_04.c
===================================================================
--- /trunk/psLib/test/astronomy/tst_psTime_04.c	(revision 2330)
+++ /trunk/psLib/test/astronomy/tst_psTime_04.c	(revision 2331)
@@ -6,13 +6,12 @@
  *
  *  This test driver contains the following tests for psTime:
- *     Test A - Add two times
- *     Test B - Subtact two times
- *     Test C - Delta two times
+ *     Test A - Initialize time
+ *     Test B - Attempt top open non-existant time config file
  *     Test D - Free data
  *
  *  @author  Ross Harman, MHPCC
  *
- *  @version $Revision: 1.1 $  $Name: not supported by cvs2svn $
- *  @date  $Date: 2004-11-09 00:43:03 $
+ *  @version $Revision: 1.2 $  $Name: not supported by cvs2svn $
+ *  @date  $Date: 2004-11-10 23:40:04 $
  *
  *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -31,6 +30,19 @@
     bool status = true;
     status = psTimeInit("../../config/psTime.config");
+    printFooter(stdout, "psTime", "Test A - Initialize time", true);
 
-    printFooter(stdout, "psTime", "Test A - Initialize time", true);
+
+    // Test B - Attempt top open non-existant time config file
+    printNegativeTestHeader(stdout,"psTime", "Test B - Attempt top open non-existant time config file",
+                            "Failed to open file 'zzz'.  Check if it exists and it has the proper permissions.", 0);
+    status = psTimeInit("zzz");
+    printFooter(stdout, "psTime", "Test B - Attempt top open non-existant time config file", true);
+
+    // Test C - Attempt top open non-existant time data file
+    printNegativeTestHeader(stdout,"psTime", "Test B - Attempt top open non-existant time config file",
+                            "Failed to open file 'zzz'.  Check if it exists and it has the proper permissions.", 0);
+    status = psTimeInit("./test.psTime.config");
+    printFooter(stdout, "psTime", "Test B - Attempt top open non-existant time config file", true);
+
 
     // Test D - Free data
@@ -46,2 +58,3 @@
     return 0;
 }
+
