From: Nick Mathewson Date: Tue, 2 Mar 2010 15:40:21 +0000 (-0500) Subject: Backport fix for time-goes-forward test. Fix bug 1267 X-Git-Tag: tor-0.2.2.10-alpha~1^2~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=404af59ed553e7c1f4cef6668b6832e0bd1a8956;p=thirdparty%2Ftor.git Backport fix for time-goes-forward test. Fix bug 1267 --- diff --git a/src/or/test.c b/src/or/test.c index b451638c28..6b7066c385 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. */