[or-cvs] update unit tests to reflect changed interface

Roger Dingledine arma at seul.org
Tue Nov 23 08:36:28 UTC 2004


Update of /home2/or/cvsroot/tor/src/or
In directory moria.mit.edu:/home2/arma/work/onion/cvs/tor/src/or

Modified Files:
	test.c 
Log Message:
update unit tests to reflect changed interface


Index: test.c
===================================================================
RCS file: /home2/or/cvsroot/tor/src/or/test.c,v
retrieving revision 1.148
retrieving revision 1.149
diff -u -d -r1.148 -r1.149
--- test.c	22 Nov 2004 23:28:26 -0000	1.148
+++ test.c	23 Nov 2004 08:36:26 -0000	1.149
@@ -512,7 +512,7 @@
 
   end.tv_sec = 4;
 
-  test_eq(0L, tv_udiff(&start, &end));
+  test_eq(-1005000L, tv_udiff(&start, &end));
 
   /* The test values here are confirmed to be correct on a platform
    * with a working timegm. */



More information about the tor-commits mailing list