Index: trunk/psLib/test/astro/tap_psTime_02.c
===================================================================
--- trunk/psLib/test/astro/tap_psTime_02.c	(revision 12405)
+++ trunk/psLib/test/astro/tap_psTime_02.c	(revision 12406)
@@ -12,6 +12,6 @@
  *  @author  Eric Van Alst, MHPCC
  *
- *  @version $Revision: 1.1 $  $Name: not supported by cvs2svn $
- *  @date  $Date: 2007-01-19 20:42:21 $
+ *  @version $Revision: 1.2 $  $Name: not supported by cvs2svn $
+ *  @date  $Date: 2007-03-12 21:00:25 $
  *
  *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
@@ -280,8 +280,8 @@
     // psTimeIsLeapSecond()
     // Set time to UTC with leap second
-    // XXX: This test fails.  Looks like it failed in the code as of 2007.
-    {
-        psMemId id = psMemGetId();
-        psTime *time = psTimeAlloc(PS_TIME_TAI);
+    // Note: leapseconds are only relevent for UTC
+    {
+        psMemId id = psMemGetId();
+        psTime *time = psTimeAlloc(PS_TIME_UTC);
         time->sec = testTime3SecondsUTC;
         time->nsec = testTime3NanosecondsUTC;
@@ -295,13 +295,13 @@
     // psTimeIsLeapSecond()
     // Set time to 1 second before a known leap second
-    // XXX: This test fails.  Looks like it failed in the code as of 2007.
-    {
-        psMemId id = psMemGetId();
-        psTime *time = psTimeAlloc(PS_TIME_TAI);
+    // Note: leapseconds are only relevent for UTC
+    {
+        psMemId id = psMemGetId();
+        psTime *time = psTimeAlloc(PS_TIME_UTC);
         time->sec = testTime3SecondsUTC;
         time->nsec = testTime3NanosecondsUTC;
         time->sec--;
         psBool leapsecond = psTimeIsLeapSecond(time);
-        ok(leapsecond, "psTimeIsLeapSecond() returned true");
+        ok(!leapsecond, "psTimeIsLeapSecond() returned false");
         psFree(time);
         ok(!psMemCheckLeaks (id, NULL, NULL, false), "no memory leaks");
