[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



Author: Nick Mathewson <nickm@xxxxxxxxxxxxxx>
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