Age | Commit message (Collapse) | Author | |
---|---|---|---|
2017-12-08 | Convert the rest of src/common's headers to use FREE_AND_NULL | Nick Mathewson | |
2017-09-15 | Run our #else/#endif annotator on our source code. | Nick Mathewson | |
2017-08-24 | apply ahf's test_assert_null.cocci | Nick Mathewson | |
2017-08-24 | apply ahf's test_assert_int.cocci | Nick Mathewson | |
2017-08-24 | Fix operator usage in src/test/*.c | Alexander Færøy | |
This patch fixes the operator usage in src/test/*.c to use the symbolic operators instead of the normal C comparison operators. This patch was generated using: ./scripts/coccinelle/test-operator-cleanup src/test/*.[ch] | |||
2017-03-15 | Run the copyright update script. | Nick Mathewson | |
2016-11-16 | fixup! Add expect_log_msg_containing_either3() and ↵ | teor | |
expect_log_msg_containing_either4() Fix typos: * extra '(' * use assert_log_predicate (without 3 or 4 at the end) Tidy whitespace. Wrap long lines. | |||
2016-11-16 | Add all four error messages to test_address_get_if_addrs6_list_no_internal() | Neel Chauhan | |
2016-11-16 | Add all four error messages to test_address_get_if_addrs6_list_internal() | Neel Chauhan | |
2016-09-09 | make check-spaces | Nick Mathewson | |
2016-09-09 | Fix cases where the tests were doing closesocket() on a non-socket | Nick Mathewson | |
These seem to have caused warnings on windows. Hmmm. | |||
2016-09-08 | Placate "make check-spaces" | Nick Mathewson | |
2016-09-08 | Simplify log_test_helpers interface | Nick Mathewson | |
Previously, you needed to store the previous log severity in a local variable, and it wasn't clear if you were allowed to call these functions more than once. | |||
2016-09-08 | Tolerate another failure mode of get_if_addres6_list in tests | Nick Mathewson | |
2016-08-31 | Use setup_full_capture_of_logs() where appropriate. | Nick Mathewson | |
2016-07-28 | Fix a huge pile of -Wshadow warnings. | Nick Mathewson | |
These appeared on some of the Jenkins platforms. Apparently some GCCs care when you shadow globals, and some don't. | |||
2016-07-17 | Keep make check-spaces happy | Andrea Shepard | |
2016-07-06 | Capture the LOG_ERR messages in our tests that had logged errors. | Nick Mathewson | |
(It's confusing for the test to write an expected error to stdout, and then tell the user "OK".) | |||
2016-02-27 | Update the copyright year. | Nick Mathewson | |
2016-02-23 | Add missing check to test_address_get_if_addrs_ifaddrs. Bug 18378 | Nick Mathewson | |
2016-02-01 | Merge branch 'maint-0.2.7' | Nick Mathewson | |
(We already had a fix for the address test freebsd issues) | |||
2016-02-01 | Try to fix address tests on FreeBSD | Nick Mathewson | |
In jails, there is not always a localhost. Bugfix not on any released Tor. | |||
2016-01-03 | Add family argument to get_interface_addresses_raw (and subfunctions). | rl1987 | |
2015-11-18 | Fix unit tests on systems without IPv4 or localhost addresses | teor (Tim Wilson-Brown) | |
Make unit tests pass on IPv6-only systems, and systems without localhost addresses (like some FreeBSD jails). Fixes: * get_if_addrs_ifaddrs: systems without localhost * get_if_addrs_ioctl: only works on IPv4 systems * socket: check IPv4 and IPv6, skip on EPROTONOSUPPORT * socketpair_ersatz: uses IPv4, skip on EPROTONOSUPPORT Fixes bug #17632; bugfix on unit tests in 0.2.7.3-rc. c464a367728d was a partial fix for this issue in #17255; it was released in unit tests in 0.2.7.4-rc. Patch by "teor". | |||
2015-10-21 | Fix a number of unit-test memory leaks, found by valgrind. | Nick Mathewson | |
2015-10-15 | blank line at eof for test_address.c | Nick Mathewson | |
2015-10-15 | Merge remote-tracking branch 'twstrike/address_tests' | Nick Mathewson | |
2015-10-07 | Merge remote-tracking branch 'origin/maint-0.2.7' | Nick Mathewson | |
2015-10-07 | Make get_ifaddrs tests more tolerant of unusual network configs | teor (Tim Wilson-Brown) | |
* Don't assume that every test box has an IPv4 address * Don't assume that every test box has a non-local address Resolves issue #17255 released in unit tests in 0.2.7.3-rc. | |||
2015-10-05 | Fix spaces | Ola Bini | |
2015-10-05 | Test full IP addresses instead of just one nibble | Ola Bini | |
2015-10-02 | Fix check-spaces complaints | Nick Mathewson | |
2015-09-29 | fix compilation; mark test fns static | Nick Mathewson | |
2015-09-29 | Add checks and unit tests for get_interface_address* failure | teor (Tim Wilson-Brown) | |
Ensure that either a valid address is returned in address pointers, or that the address data is zeroed on error. Ensure that free_interface_address6_list handles NULL lists. Add unit tests for get_interface_address* failure cases. Fixes bug #17173. Patch by fk/teor, not in any released version of tor. | |||
2015-09-16 | ExitPolicyRejectPrivate rejects local IPv6 address and interface addresses | teor (Tim Wilson-Brown) | |
ExitPolicyRejectPrivate now rejects more local addresses by default: * the relay's published IPv6 address (if any), and * any publicly routable IPv4 or IPv6 addresses on any local interfaces. This resolves a security issue for IPv6 Exits and multihomed Exits that trust connections originating from localhost. Resolves ticket 17027. Patch by "teor". Patch on 42b8fb5a1523 (11 Nov 2007), released in 0.2.0.11-alpha. | |||
2015-09-15 | Add several tests for address.h | Ola Bini | |
2015-09-15 | Add get_interface_address[6]_list for a list of interface IP addresses | teor (Tim Wilson-Brown) | |
Add get_interface_address[6]_list by refactoring get_interface_address6. Add unit tests for new and existing functions. Preparation for ticket 17027. Patch by "teor". Patch on 42b8fb5a1523 (11 Nov 2007), released in 0.2.0.11-alpha. | |||
2015-06-29 | Remove checks for visual C 6. | Nick Mathewson | |
2015-04-21 | Use correct severity in the get_if_addrs tests. | Yawning Angel | |
2015-04-10 | Disable the udp_socket_trick_blackbox tests that fail due to #12377 | Yawning Angel | |
Till someone writes get_interface_address6 interface enumeration that is routing table aware, these tests will continue to fail on certain systems because the get_interface_address6() code is broken. | |||
2015-03-31 | work around lack of AF_CCITT | Nick Mathewson | |
2015-03-31 | fix some compilation warnings | Nick Mathewson | |
2015-03-31 | Merge branch 'ticket14710_squashed' | Nick Mathewson | |
2015-03-31 | Use tor_inet_pton() (not inet_pton()) in testcases. | rl1987 | |
2015-03-31 | Remove unused function. | rl1987 | |
2015-03-31 | IPv6 case for whitebox test. | rl1987 | |
2015-03-31 | Whitebox test for get_interface_address6_via_udp_socket_hack(). | rl1987 | |
Also, fix some whitespace mishaps. | |||
2015-03-31 | Skipping the AF_INET6 case because bug #12377 makes it fail. | rl1987 | |
2015-03-31 | Rework the black box test, like Yawning and nickm suggested. | rl1987 | |
2015-03-31 | Black box test for get_interface_address6_via_udp_socket_hack(). | rl1987 | |