Age | Commit message (Collapse) | Author | |
---|---|---|---|
2016-09-08 | more consistent use of expect_log_msg_containing | Nick Mathewson | |
2016-09-08 | Suppress a really impressive pile of warnings in conection/.. tests | Nick Mathewson | |
2016-09-08 | Fix a bug in connection/download_status.. tests | Nick Mathewson | |
2016-09-08 | Revise log-testing macros to dump the actual log contents on failure | Nick Mathewson | |
2016-09-08 | Remove redundant definitions of expect_{no_,}log_msg() | Nick Mathewson | |
2016-09-08 | Unit test fix: windows should be able to handle DNSPort just fine. | Nick Mathewson | |
2016-09-08 | Patch from rubiate: disable openbsd memory protections in test-memwipe | Nick Mathewson | |
Test-memwipe is *supposed* to invoke undefined behavior, alas. Closes 20066. | |||
2016-09-07 | set the "addr" field in the dir_handle_get tests, to resolve bug warnings. | Nick Mathewson | |
2016-09-07 | Remove the useless (and uninitialized) MOCK_TOR_ADDR in test_dir_handle_get.c | Nick Mathewson | |
2016-09-07 | Merge branch 'maint-0.2.8' | Nick Mathewson | |
2016-09-07 | Merge branch 'maint-0.2.7' into maint-0.2.8 | Nick Mathewson | |
2016-09-07 | Merge branch 'maint-0.2.6' into maint-0.2.7 | Nick Mathewson | |
2016-09-07 | Merge branch 'maint-0.2.5' into maint-0.2.6 | Nick Mathewson | |
2016-09-07 | Merge branch 'maint-0.2.4' into maint-0.2.5 | Nick Mathewson | |
2016-09-07 | Capture and enforce BUG warnings in dir/param_voting_lookup | Nick Mathewson | |
2016-09-07 | Fix unit test failure introduced by #20002 | Nick Mathewson | |
Updating the consensus algorithm made a non-valid node never get listed, which messed up some other tests. | |||
2016-09-07 | Capture and enforce bug warnings in util/time test | Nick Mathewson | |
2016-09-07 | Merge remote-tracking branch 'dgoulet/ticket18693_029_01' | Nick Mathewson | |
2016-09-07 | Merge remote-tracking branch 'sebastian/bug20064' | Nick Mathewson | |
2016-09-07 | Update geoip and geoip6 to the September 6 2016 database. | Karsten Loesing | |
2016-09-06 | Capture and detect the BUG() warnings in test_util_parse_integer. | Nick Mathewson | |
2016-09-06 | Add facility to suppress/capture tor_bug_occurred_() messages in unit tests. | Nick Mathewson | |
2016-09-06 | Add !(...) to BUG() log messages | Nick Mathewson | |
They use the same code as reporting assertion failures, so we should invert the sense of what we're "asserting". Fixes bug 20093. | |||
2016-09-06 | Fix a unit test bug for passing arguments to tor_parse_ulong. | Nick Mathewson | |
We wanted to make sure -50 was a bad input, but instead we were passing a 'min' that was greater than 'max'. | |||
2016-09-06 | Split tor_parse_{some_int} testing into separate fn. Code movement only. | Nick Mathewson | |
2016-09-06 | Merge remote-tracking branch 'teor/bug20012' | Nick Mathewson | |
2016-09-06 | Merge remote-tracking branch 'teor/feature20069' | Nick Mathewson | |
2016-09-06 | Merge remote-tracking branch 'public/ticket20002' | Nick Mathewson | |
2016-09-06 | checkSpace.pl now forbids more identifiers. | Nick Mathewson | |
The functions it warns about are: assert, memcmp, strcat, strcpy, sprintf, malloc, free, realloc, strdup, strndup, calloc. Also, fix a few lingering instances of these in the code. Use other conventions to indicate _intended_ use of assert and malloc/realloc/etc. | |||
2016-09-06 | Merge remote-tracking branch 'sebastian/bug20065' | Nick Mathewson | |
2016-09-06 | Fix an indentation issue in rend_config_services | teor | |
2016-09-06 | Fix a comment typo in smartlist_get_most_frequent_() | teor (Tim Wilson-Brown) | |
2016-09-06 | Add hs-ipv6 to the chutney IPv6 tests | teor | |
Requires a recent version of chutney. Also remove bridges+hs, as it's somewhat redundant. | |||
2016-09-06 | Give useful error if authority_signing_key doesn't exist | Sebastian Hahn | |
2016-09-05 | Vote Exit correctly with DirAllowPrivateAddresses set | Sebastian Hahn | |
When allowing private addresses, mark Exits that only exit to private locations as such. Fixes bug 20064; bugfix on 0.2.2.9-alpha. | |||
2016-09-05 | Appease make check-spaces | Andrea Shepard | |
2016-09-05 | Fix BUG warning with stack trace from config/parse_port_config__listenaddress | Nick Mathewson | |
2016-09-01 | Fix memory leaks in the shared random tests. | Nick Mathewson | |
Please remember to test your code with --enable-expensive-hardening. :) | |||
2016-08-31 | Actually, always monotime_init() in the unit tests. | Nick Mathewson | |
2016-08-31 | Initialize monotonic timer code before using it in the tests | Nick Mathewson | |
2016-08-31 | It is not a bug to attempt to base32_decode a non-base32 string | Nick Mathewson | |
(Rationale: it isn't a bug to try this for a base16 or base64 string. It's just a bad input that we're detecting.) | |||
2016-08-31 | Detect and suppress bug message from zlib compression bomb test | Nick Mathewson | |
2016-08-31 | Require specific messages for remaining link-handshake failure cases | Nick Mathewson | |
2016-08-31 | Always log [bug] warnings from the unit tests. | Nick Mathewson | |
We should consider them bugs. If they are happening intentionally, we should use the log_test_helpers code to capture and suppress them. But having them off-by-default has potential to cause programming errors. | |||
2016-08-31 | Do not call tor_tls_server_info_callback(NULL) from tests. | Nick Mathewson | |
This isn't valid behavior, and it causes a crash when you run the unit tests at --debug. I've added an IF_BUG_ONCE() check for this case. | |||
2016-08-31 | Work even harder not to suppress logging messages unless we mean to. | Nick Mathewson | |
2016-08-31 | Document and clean log_test_helpers.c a bit | Nick Mathewson | |
In addition to documentation, this commit makes a function static, and removes a weird single-point-of-return-ism, and notes a thing I should fix. | |||
2016-08-31 | Use setup_full_capture_of_logs() where appropriate. | Nick Mathewson | |
2016-08-31 | setup_capture_of_logs: no longer suppress log messages | Nick Mathewson | |
Previously setup_capture_of_logs would prevent log messages from going to the console entirely. That's a problem, since sometimes log messages are bugs! Now setup_capture_of_logs() acts sensibly. If you really do need to keep a message from going to the console entirely, there is setup_full_capture_of_logs(). But only use that if you're prepared to make sure that there are no extraneous messages generated at all. | |||
2016-08-31 | Improvements to test_link_handshake: check specific error messages | Nick Mathewson | |
Otherwise it's too easy to lose our test coverage. |