aboutsummaryrefslogtreecommitdiff
path: root/src/test
AgeCommit message (Collapse)Author
2014-12-29Merge branch 'resolvemyaddr_squashed'Nick Mathewson
2014-12-29Make the resolvemyaddr unit tests pass when local dns is hijackedNick Mathewson
If you are in a coffee shop that returns a helpful redirect page for "onionrouter", or on an ISP that does the same, the test as written would fail.
2014-12-29Fix memory leaks in resolvemyaddr testsNick Mathewson
2014-12-29Fix compilation errors in resolvemyaddr testsNick Mathewson
2014-12-29Adding comprehensive test cases for resolve_my_address.rl1987
Also, improve comments on resolve_my_address to explain what it actually does.
2014-12-26Add another cellintptr use; fixes 14031Nick Mathewson
2014-12-23add support for systemd notification protocolMichael Scherer
This permit for now to signal readiness in a cleaner way to systemd.
2014-12-22Tweak channel unit tests so we don't see coverity complaintsNick Mathewson
channel_write_*_cell() can delete its argument, so coverity doesn't like us doing pointer comparison against that argument later. Silly.
2014-12-22Fix a bunch of memory leaks in the unit tests. Found with valgrindNick Mathewson
2014-12-22Fix some coverity issues in the unit testsNick Mathewson
2014-12-19LLONG_MIN => INT64_MIN.Nick Mathewson
2014-12-19Fix unit test.Karsten Loesing
Looks like we forgot to update unit tests when we switched from 32-bit to 64-bit ints while tweaking 7cd53b7.
2014-12-19Merge branch 'asn-karsten-task-13192-5-squashed'Nick Mathewson
2014-12-10Add better support to obfuscate statistics.Karsten Loesing
2014-12-04Add fakechans.h to noinst_headersNick Mathewson
2014-12-04Fix more 64/32 warnings in test_channel.cNick Mathewson
2014-12-04Initialize libevent in circuitmux/destroy_cell_queue testNick Mathewson
2014-11-28Fix some 32-bit build issues in the testsNick Mathewson
When comparing 64-bit types, you need to use tt_[ui]64_op(). Found by Jenkins
2014-11-27Fix a likely bug found by coverity in test_scheduler.c.Nick Mathewson
Andrea, do you agree with this? This is CID 1256186
2014-11-27Merge remote-tracking branch 'andrea/cmux_refactor_configurable_threshold'Nick Mathewson
Conflicts: src/or/or.h src/test/Makefile.nmake
2014-11-16Adding REASON field to HS_DESC FAILED controller event.rl1987
2014-11-12Merge remote-tracking branch 'public/bug7484'Nick Mathewson
Conflicts: src/test/test_addr.c
2014-11-12Fix wide lines (from 13172)Nick Mathewson
2014-11-12Replace operators used as macro arguments with OP_XX macrosNick Mathewson
Part of fix for 13172
2014-11-12Reenhappy make check-spacesNick Mathewson
2014-11-07test_checkdir.c: Perhaps this is what will make this test pass on windows?Nick Mathewson
2014-11-07test_checkdir.c: try to make it pass on windowsNick Mathewson
also fix memory-leak on failing tests.
2014-11-05Try to fix test_checkdir windows compilation moreNick Mathewson
2014-11-05Try to fix test_checkdir windows compilationNick Mathewson
2014-11-05chgrp the testing tempdir to ourself to clear the sticky bitNick Mathewson
Closes 13678. Doesn't actually matter for older tors.
2014-11-0511291: Fix warnings, add changes file, rename 'mask'.Nick Mathewson
2014-11-05Merge remote-tracking branch 'meejah/ticket-11291-extra-utests'Nick Mathewson
Conflicts: src/or/config.c
2014-11-04Fix unused-argument warningsNick Mathewson
2014-11-04Merge remote-tracking branch 'andrea/ticket6456'Nick Mathewson
Somewhat tricky conflicts: src/or/config.c Also, s/test_assert/tt_assert in test_config.c
2014-11-04Merge branch 'bug13315_squashed'Nick Mathewson
Conflicts: src/or/buffers.c
2014-11-04Sending 'Not allowed' error message before closing the connection.rl1987
2014-11-04Checking if FQDN is actually IPv6 address string and handling that case.rl1987
2014-11-04Validating SOCKS5 hostname more correctly.rl1987
2014-11-04Introducing helper function to validate IPv4 address strings.rl1987
2014-11-04Introducing helper function to validate DNS name strings.rl1987
2014-11-02Apply new calloc coccinelle patchNick Mathewson
2014-10-28Add another year to our copyright dates.Nick Mathewson
Because in 95 years, we or our successors will surely care about enforcing the BSD license terms on this code. Right?
2014-10-27Remove configure option to disable curve25519Sebastian Hahn
By now, support in the network is widespread and it's time to require more modern crypto on all Tor instances, whether they're clients or servers. By doing this early in 0.2.6, we can be sure that at some point all clients will have reasonable support.
2014-10-22Switch new time tests to use SIZEOF_TIME_T, not sizeof(time_t)Nick Mathewson
Otherwise, we get implicit conversion warning on some platforms.
2014-10-23Fix minor typos, two line lengths, and a repeated includeteor
2014-10-22Merge remote-tracking branch 'public/ticket6938'Nick Mathewson
Conflicts: src/tools/tor-resolve.c
2014-10-21Additional test for error-casemeejah
This error-case was already fixed by previous changes, this is to cover it in case there's a regression.
2014-10-21Conditionally compile time testing code based on integer sizeteor
2014-10-20Further unit test tor_timegm and parse_rfc1123_timeteor
Add unit tests for tor_timegm signed overflow, tor_timegm and parse_rfc1123_time validity checks, and correct_tm year clamping. Unit tests (visible) fixes in bug 13476.
2014-10-16Merge remote-tracking branch 'yawning/bug13314'Nick Mathewson