[tor-commits] [tor/master] Fix unit test behavior: we need to be in STATE_LIVE.

2017-11-09 Thread nickm
commit 6ea3db6fa776e2b2b9d3f4da377a6ceaea0a323f Author: Nick Mathewson Date: Thu Nov 9 09:30:43 2017 -0500 Fix unit test behavior: we need to be in STATE_LIVE. --- src/test/test_routerlist.c | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/test/test_routerlis

[tor-commits] [tor/master] Fix unit test that likes to cast integers to void*

2017-09-15 Thread nickm
commit 7a4f4c35fa6a9c44b4c4e736369c393764fdfe8a Author: Nick Mathewson Date: Tue Sep 12 19:41:15 2017 -0400 Fix unit test that likes to cast integers to void* --- src/test/test_consdiff.c | 19 ++- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/src/test/test

[tor-commits] [tor/master] Fix unit test memory leak in certs_ok_ed25519.

2017-07-14 Thread nickm
commit 759154b1ad8b2b5fabf09cb1dde93177c65d05a8 Author: Nick Mathewson Date: Wed Jul 5 15:42:25 2017 -0400 Fix unit test memory leak in certs_ok_ed25519. Fixes bug 22803; bugfix on 0.3.0.1-alpha. --- changes/bug22803 | 3 +++ src/test/test_link_handshake.c | 4 +++-

[tor-commits] [tor/master] Fix unit test failures in response to DNS hijacking.

2017-01-04 Thread nickm
commit c4a6b56cc19878de4c76e83ce8e38ad709839d92 Author: Nick Mathewson Date: Tue Jan 3 10:11:23 2017 -0500 Fix unit test failures in response to DNS hijacking. Some DNS NXDOMAIN hijackers hijack truly ridiculous domains, like "invalid-stuff!!" or "1.2.3.4.5". This would provok

[tor-commits] [tor/master] Fix unit test failure introduced by #20002

2016-09-07 Thread nickm
commit 075c52084dbcf09cc73efbc2bbf34c7148314329 Author: Nick Mathewson Date: Wed Sep 7 13:40:38 2016 -0400 Fix unit test failure introduced by #20002 Updating the consensus algorithm made a non-valid node never get listed, which messed up some other tests. --- src/test/test_di

[tor-commits] [tor/master] Fix unit test crash on 32-bit.

2016-06-20 Thread nickm
commit ba88d78127b4ec9d6c3d8d4318d29f67a3760eab Author: Nick Mathewson Date: Mon Jun 20 10:20:03 2016 -0400 Fix unit test crash on 32-bit. --- src/test/test_util_format.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/test_util_format.c b/src/test/test_util_fo

[tor-commits] [tor/master] Fix unit test.

2014-12-19 Thread nickm
commit 816e6f2eacca57fc5f9c265b9976510b81e088d2 Author: Karsten Loesing Date: Fri Dec 19 18:37:43 2014 +0100 Fix unit test. Looks like we forgot to update unit tests when we switched from 32-bit to 64-bit ints while tweaking 7cd53b7. --- src/test/test_util.c |2 +- 1 file

[tor-commits] [tor/master] Fix unit test for format_helper_exit_status

2013-10-10 Thread nickm
commit 004a9c6dd11ba71f310b750f00d5ed403faceb5a Author: Nick Mathewson Date: Thu Oct 10 11:15:35 2013 -0400 Fix unit test for format_helper_exit_status Fix format_helper_exit_status to allow full HEX_ERRNO_SIZE answers, *and* increase the buffer length again. --- src/common/ut

[tor-commits] [tor/master] Fix unit test to not expect v2 directory request geoip info

2013-01-29 Thread nickm
commit a0351311aeea715cea24e156e065b65cc29a804c Author: Nick Mathewson Date: Tue Jan 29 12:01:41 2013 -0500 Fix unit test to not expect v2 directory request geoip info When we implemented #5823 and removed v2 directory request info, we never actually changed the unit tests not

[tor-commits] [tor/master] Fix unit test failure in dir/formats

2011-06-02 Thread nickm
commit df42eb0a18a9f6fe4b729a1c9a63bb6ab247f631 Author: Sebastian Hahn Date: Thu Jun 2 13:30:32 2011 +0200 Fix unit test failure in dir/formats options->DirPort is 0 in the unit tests, so router_get_advertised_dir_port() would return 0 so we wouldn't pick a dirport. This is