jorton      2003/01/16 03:39:42

  Modified:    test     testtime.c
  Log:
  Fix the time vs apr_time_now comparison to really allow 1 second
  of leeway.
  
  Revision  Changes    Path
  1.49      +1 -1      apr/test/testtime.c
  
  Index: testtime.c
  ===================================================================
  RCS file: /home/cvs/apr/test/testtime.c,v
  retrieving revision 1.48
  retrieving revision 1.49
  diff -u -r1.48 -r1.49
  --- testtime.c        10 Jan 2003 23:18:42 -0000      1.48
  +++ testtime.c        16 Jan 2003 11:39:42 -0000      1.49
  @@ -103,7 +103,7 @@
        * 1 second.
        */
       CuAssert(tc, "apr_time and OS time do not agree", 
  -             (timediff > -1) && (timediff < 1));
  +             (timediff > -2) && (timediff < 2));
   }
   
   static void test_gmtstr(CuTest *tc)
  
  
  

Reply via email to