[or-cvs] [tor/maint-0.2.1] Backport fix for time-goes-forward test. Fix bug 1267

nickm at torproject.org nickm at torproject.org
Tue Mar 2 15:41:05 UTC 2010


Author: Nick Mathewson <nickm at torproject.org>
Date: Tue, 2 Mar 2010 10:40:21 -0500
Subject: Backport fix for time-goes-forward test.  Fix bug 1267
Commit: 404af59ed553e7c1f4cef6668b6832e0bd1a8956

---
 src/or/test.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/src/or/test.c b/src/or/test.c
index b451638..6b7066c 100644
--- a/src/or/test.c
+++ b/src/or/test.c
@@ -1294,6 +1294,7 @@ test_util(void)
     smartlist_free(sl);
   }
 
+  tor_gettimeofday(&start);
   /* now make sure time works. */
   tor_gettimeofday(&end);
   /* We might've timewarped a little. */
-- 
1.6.5



More information about the tor-commits mailing list