summaryrefslogtreecommitdiff
path: root/src/test
AgeCommit message (Collapse)Author
2017-10-27Merge branch 'protover-rust-impl_squashed'Nick Mathewson
2017-10-27move to allocating c strings from rustChelsea Holland Komlo
2017-10-27rust implementation of protoverChelsea Holland Komlo
2017-10-26Merge branch 'maint-0.3.2'Nick Mathewson
2017-10-26fuzzing: Make hsdescv3 use the decoding API correctlyDavid Goulet
Fixes #21509 Signed-off-by: David Goulet <dgoulet@torproject.org>
2017-10-26Revert "Temporarily disable compilation of the v3 hs fuzzing code"David Goulet
This reverts commit 5ef656e7d1b1e1e74c46bd02ce8faaa1d8d09403.
2017-10-25Fix offending unittest and add changes file for #23862.George Kadianakis
2017-10-25Add a unittest that reveals the offending case of #23862.George Kadianakis
2017-10-24Merge branch 'feature18329_029_squashed' into maint-0.3.2Nick Mathewson
2017-10-24Merge branch 'feature18329_029_squashed' into maint-0.3.2Nick Mathewson
2017-10-24Updates to fix check-spaces/check-changes warningsNick Mathewson
2017-10-24Adjust test to allow hyphens too.Nick Mathewson
2017-10-24test: Add unittest for descriptors with BridgeDistribution option.Isis Lovecruft
2017-10-23Merge branch 'maint-0.2.8' into maint-0.2.9Nick Mathewson
2017-10-23Merge branch 'maint-0.3.1' into maint-0.3.2Nick Mathewson
2017-10-23Merge branch 'maint-0.3.0' into maint-0.3.1Nick Mathewson
2017-10-23Merge branch 'maint-0.2.9' into maint-0.3.0Nick Mathewson
2017-10-23Adjust test, now that there are 9 dirauths againNick Mathewson
2017-10-04Don't expect permission failure if running as rootTaylor Yu
Skip test_config_include_no_permission() when running as root, because it will get an unexpected success from config_get_lines_include(). This affects some continuous integration setups. Fixes bug 23758.
2017-10-03Merge branch 'bug23672_032_01_squashed'Nick Mathewson
2017-10-03test: Add an HS v3 descriptor fetch unit testDavid Goulet
Signed-off-by: David Goulet <dgoulet@torproject.org>
2017-10-03Merge remote-tracking branch 'asn/bug23670'Nick Mathewson
2017-10-03entrynodes: Better naming for dir info check functions.George Kadianakis
2017-10-03Merge branch 'bug23678_032'Nick Mathewson
2017-10-03Follow-up on 23678: fix socks/wrong_protocol testNick Mathewson
2017-10-03Make the fp_pair_map tests cover {get,set}_by_digestsNick Mathewson
2017-10-03entrynodes: Error msg for missing guard descs is now more informative.George Kadianakis
2017-10-03entrynodes: Be specific about how many primary descriptors we miss.George Kadianakis
2017-09-28Merge remote-tracking branch 'catalyst-oniongit/bug23691'Nick Mathewson
2017-09-28Fix leak in test_util.cTaylor Yu
AddressSanitizer found a leak in test_util_decompress_dos_impl(). Fixes bug #23691.
2017-09-28Enable disabled test that was disabled due to bug #23551Alexander Færøy
See: https://bugs.torproject.org/23551
2017-09-28Improve unit test coverage for compression code.Nick Mathewson
These tests try uncompressing garbage, verify that we won't make compression bombs, and verify that we won't uncompress compression bombs.
2017-09-28Unit test for case where %included dir exists but is unreadableNick Mathewson
2017-09-28unit test for config_lines_dup_and_filterNick Mathewson
2017-09-28Add unit test for buf_get_line().Nick Mathewson
2017-09-27Let's get 100% coverage for proto_http while we're at it.Nick Mathewson
There was some coverage before, but it was mostly accidental.
2017-09-27Test more error cases of our socks code.Nick Mathewson
Coverage is now respectable. :)
2017-09-27Add unit tests for SOCKS functions that parse server responsesNick Mathewson
We use these when we're acting as a SOCKS client, but we'd never actually written tests for them :/
2017-09-27socks5 unit tests: add check for ipv6 address type.Nick Mathewson
2017-09-27Socks tests for bad socks5 username/passwd auth.Nick Mathewson
2017-09-27testing: test many possible truncated SOCKS commandsNick Mathewson
Many of the 'truncated command' paths in fetch_from_buf_socks() were not reached by the tests. This new unit test tries to check them exhaustively.
2017-09-27Move ext_or_command tests to test_proto_misc.cNick Mathewson
No other code changes.
2017-09-27Add unit tests for var_cell and control0 proto functions.Nick Mathewson
2017-09-26Merge remote-tracking branch 'asn/ticket23645_032_01'Nick Mathewson
2017-09-26hs: Improve loggingDavid Goulet
Also demote a log message that can occur under natural causes (if the circuit subsystem is missing descriptors/consensus etc.). The HS subsystem will naturally retry to connect to intro points, so no need to make that log user-facing.
2017-09-25Merge branch 'bug22109'Nick Mathewson
2017-09-25Make testing rend1_payload variables staticNick Mathewson
This fixes a clang warning.
2017-09-25Merge branch 'bug23539_032_01_squashed'Nick Mathewson
2017-09-25sched: Make KISTSchedRunInterval non negativeDavid Goulet
Fixes #23539. Signed-off-by: David Goulet <dgoulet@torproject.org>
2017-09-25Merge remote-tracking branch 'asn/ticket23420_032_01'Nick Mathewson