Index: /trunk/psLib/test/astronomy/tst_psTime_03.c
===================================================================
--- /trunk/psLib/test/astronomy/tst_psTime_03.c	(revision 2963)
+++ /trunk/psLib/test/astronomy/tst_psTime_03.c	(revision 2964)
@@ -14,10 +14,11 @@
  *   Test G - Add two times across leapsecond boundary
  *   Test H - Find number of leapseconds added between two times
+ *   Test H1 - Verify error message to invalid time type in psTimeAlloc
  *   Test G - Free data
  *
  *  @author  Ross Harman, MHPCC
  *
- *  @version $Revision: 1.8 $  $Name: not supported by cvs2svn $
- *  @date  $Date: 2004-12-23 19:38:38 $
+ *  @version $Revision: 1.9 $  $Name: not supported by cvs2svn $
+ *  @date  $Date: 2005-01-13 01:35:30 $
  *
  *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -155,4 +156,12 @@
     printFooter(stdout, "psTime", "Test H - Find number of leapseconds added between two times", true);
 
+    // Test H1 - Error in allocating time not UTC or TAI
+    printPositiveTestHeader(stdout,"psTime","Test H1 - Verify error message in allocating invalid time type");
+    psLogMsg(__func__,PS_LOG_INFO,"Invalid time type during allocation should generate error message");
+    psTime *time10 = psTimeAlloc(10);
+    if(time10 != NULL) {
+        printf("ERROR: returned time should be NULL\n");
+    }
+    printFooter(stdout,"psTime","Test H1 - Verify error message in allocating invalid time type",true);
 
     // Test G - Free data
Index: /trunk/psLib/test/astronomy/verified/tst_psTime_03.stderr
===================================================================
--- /trunk/psLib/test/astronomy/verified/tst_psTime_03.stderr	(revision 2964)
+++ /trunk/psLib/test/astronomy/verified/tst_psTime_03.stderr	(revision 2964)
@@ -0,0 +1,4 @@
+<DATE><TIME>|<HOST>|I|main
+    Invalid time type during allocation should generate error message
+<DATE><TIME>|<HOST>|E|psTimeAlloc (psTime.c:<LINENO>)
+    Specified type, 10, is not supported.
Index: /trunk/psLib/test/astronomy/verified/tst_psTime_03.stdout
===================================================================
--- /trunk/psLib/test/astronomy/verified/tst_psTime_03.stdout	(revision 2963)
+++ /trunk/psLib/test/astronomy/verified/tst_psTime_03.stdout	(revision 2964)
@@ -75,4 +75,13 @@
 /***************************** TESTPOINT ******************************************\
 *             TestFile: tst_psTime_03.c                                            *
+*            TestPoint: psTime{Test H1 - Verify error message in allocating invalid time type} *
+*             TestType: Positive                                                   *
+\**********************************************************************************/
+
+
+---> TESTPOINT PASSED (psTime{Test H1 - Verify error message in allocating invalid time type} | tst_psTime_03.c)
+
+/***************************** TESTPOINT ******************************************\
+*             TestFile: tst_psTime_03.c                                            *
 *            TestPoint: psTime{Test I - Free data}                                 *
 *             TestType: Positive                                                   *
