aboutsummaryrefslogtreecommitdiff
path: root/src/test
AgeCommit message (Collapse)Author
2020-04-09Merge remote-tracking branch 'tor-github/pr/1801/head'Nick Mathewson
2020-04-09Make sure that we free 'addr' at the end of a pair of addr testsNick Mathewson
Fixes a couple of Coverity warnings about possible memory leaks. Bug not in any released Tor.
2020-04-09test/circuitbuild: Add a test for onionskin_answer()teor
Part of 33633.
2020-04-09test/circuitbuild: Add tests for circuit_extend()teor
Part of 33633.
2020-04-09test/circuitbuild: Add tests for open_connection_for_extendteor
Part of 33633.
2020-04-09test/circuitbuild: Add tests for extend_lspec_validteor
Part of 33633.
2020-04-09test/circuitbuild: Make some tests forkteor
Since we're testing IF_BUG_ONCE(), we need to fork. Part of 33633.
2020-04-09test/circuitbuild: Tests for adding ed25519 keysteor
Add tests for circuit_extend_add_ed25519_helper(). Part of 33633.
2020-04-09test/circuitbuild: Add a test for extend_state_validteor
Part of 33633.
2020-04-09test/circuitbuid: Fix new_route_len_unhandled_exitteor
Make test_new_route_len_unhandled_exit more robust, by always tearing down logs. (Rather than just tearing them down on success.)
2020-04-09test/circuitbuild: Refactor test case arrayteor
Avoid repeating test names. Part of 33633.
2020-04-08Merge branch 'tor-github/pr/1857'George Kadianakis
2020-04-08test: Unit test for missing ExtendedErrorsDavid Goulet
Signed-off-by: David Goulet <dgoulet@torproject.org>
2020-04-08Merge branch 'maint-0.4.3'David Goulet
2020-04-08Correct 'was not internal' to 'was internal' in test_external_ip()Mrigyen Sawant
2020-04-07Added tests for tor_addr_is_null/valid()MrSquanchee
Added tests for tor_addr_is_valid(), and added tests for tor_addr_is_null(), which is not modfied. Ticket 33679
2020-04-07Merge branch 'pr1838_squashed'teor
2020-04-07Add a test script to check subsystem order as part of make check.Nick Mathewson
2020-04-04Merge branch 'maint-0.4.3'teor
2020-04-03Change starting file descriptor for tests.Putta Khunchalee
2020-04-01Merge branch 'tor-github/pr/1844'David Goulet
2020-03-30hs-v3: Move ob_subcreds to hs_service_state_t.George Kadianakis
It's more natural there since it's runtime state.
2020-03-30Merge branch 'maint-0.4.3'David Goulet
2020-03-30hs-v3: Relax severity of a log message when decoding descriptors.George Kadianakis
Make it LOG_PROTOCOL_WARN and also add the expiration timestamp in there to ease debugging in the future.
2020-03-30Merge branch 'tor-github/pr/1775'David Goulet
2020-03-30Update expected log messages in tests to new format.Nick Mathewson
2020-03-23Merge branch 'maint-0.4.3'George Kadianakis
2020-03-23Merge branch 'tor-github/pr/1788' into maint-0.4.3George Kadianakis
2020-03-21parseconf: Add ORPort and DirPort auto teststeor
These tests don't actually trigger bug 32588, but they do increase the coverage of the auto port config code. Tests for 32588.
2020-03-21Merge branch 'bug32588_043' into bug32588_masterteor
2020-03-21Merge branch 'bug32588_042' into bug32588_043teor
Merge static function declaration deletions from bug32588_042 and maint-0.4.3 in app/config/config.c.
2020-03-21Merge branch 'bug32588_041' into bug32588_042teor
2020-03-21Merge branch 'bug32588_035' into bug32588_041teor
Merge tests from maint-0.4.1 with new tests from bug32588_035 in test_router.c.
2020-03-21Add a test for the localhost case.Nick Mathewson
2020-03-21Extend test to handle router_get_advertised_ipv6_or_apNick Mathewson
2020-03-21Add a test for router_get_advertised_or_port_by_af().Nick Mathewson
2020-03-21Add tests for get_first_advertised_{addr,port}_by_type_af()Nick Mathewson
2020-03-20Merge branch 'maint-0.4.3'teor
2020-03-20Merge branch 'maint-0.4.2' into maint-0.4.3teor
2020-03-20Merge branch 'maint-0.4.1' into maint-0.4.2teor
2020-03-19Merge branch 'ticket33643_skip_035' into ticket33643_skip_041Nick Mathewson
2020-03-19Add a TOR_SKIP_TESTCASES environment variable for suppressing tests.Nick Mathewson
For example, "TOR_SKIP_TESTCASES=crypto/.. ./src/test/test" will run the tests and suppress all the "crypto/" tests. You could get the same effect by running "./src/test/test :crypto/..", but that can be harder to arrange from CI. Part of a fix/workaround for 33643.
2020-03-19Merge branch 'tor-github/pr/1778'George Kadianakis
2020-03-19Merge remote-tracking branch 'tor-github/pr/1807/head'Nick Mathewson
2020-03-19Merge branch 'tor-github/pr/1792'George Kadianakis
2020-03-19hs-v3: Improve accessor semantic of client cached objectDavid Goulet
Add an inline helper function that indicates if the cached object contains a decrypted descriptor or not. The descriptor object is NULL if tor is unable to decrypt it (lacking client authorization) and some actions need to be done only when we have a decrypted object. This improves code semantic. Fixes #33458 Signed-off-by: David Goulet <dgoulet@torproject.org>
2020-03-19coverity: Silence spurious unreachable warningteor
Closes bug 33641; not in any released version of tor.
2020-03-17Merge branch 'maint-0.4.3'Nick Mathewson
2020-03-17Merge branch 'maint-0.4.2' into maint-0.4.3Nick Mathewson
2020-03-17Merge branch 'maint-0.4.1' into maint-0.4.2Nick Mathewson