aboutsummaryrefslogtreecommitdiff
path: root/src/test/test.c
AgeCommit message (Collapse)Author
2016-02-27Update the copyright year.Nick Mathewson
2016-02-04Fix two problems in the 0.2.8.x unit testsNick Mathewson
1. We were sometimes using libevent uninitialized, which is Not Allowed. 2. The malformed-PTR dns test was supposed to get a -1 output... but the test was wrong, since it forgot that in-addr.arpa addresses are in reverse order. Bugs not in any released tor.
2015-12-16Prop210: Refactor connection_get_* to produce lists and countsteor (Tim Wilson-Brown)
2015-11-25Initialize libevent before periodic eventscypherpunks
The initialization of libevent interferes with other tests so we also fork the circuit_timeout test.
2015-11-17Some unit tests now require that periodic events be initialized.Nick Mathewson
2015-10-21Fix whitespacesNick Mathewson
2015-10-21Merge remote-tracking branch 'twstrike/util_process_tests'Nick Mathewson
2015-10-07Fix "make check-spaces"Nick Mathewson
2015-10-07Merge remote-tracking branch 'twstrike/procmon_tests'Nick Mathewson
Conflicts: src/test/include.am src/test/log_test_helpers.c src/test/log_test_helpers.h
2015-10-06Merge remote-tracking branch 'twstrike/rendcache_tests'Nick Mathewson
Conflicts: src/test/include.am src/test/rend_test_helpers.c src/test/rend_test_helpers.h
2015-10-02Merge remote-tracking branch 'twstrike/dir-handle-cmd-get'Nick Mathewson
2015-10-02Fix "make check-spaces"Nick Mathewson
2015-10-02Merge remote-tracking branch 'twstrike/tortls_tests'Nick Mathewson
2015-10-02Fix a test failureNick Mathewson
2015-10-02Merge remote-tracking branch 'donncha/feature14846_4'Nick Mathewson
2015-10-02Clean up compat_libevent testsNick Mathewson
2015-10-02Merge remote-tracking branch 'twstrike/compat_libevent_tests'Nick Mathewson
2015-09-15Add tests for directory_handle_command_getReinaldo de Souza Jr
2015-09-15Add tests for procmon. These currently fail. Investigation should happen ↵Ola Bini
before submitting
2015-09-15Add tests for util_formatOla Bini
2015-09-15Add tests for util_processOla Bini
2015-09-15Add tests for compat_libeventOla Bini
2015-09-15Add tests for tortls.cOla Bini
2015-09-15Add tests for the rend cacheOla Bini
2015-08-25Store service descriptors in the service descriptor cacheDonncha O'Cearbhaill
Service descriptors are now generated regardless of the the PublishHidServDescriptors option. The generated descriptors are stored in the service descriptor cache. The PublishHidServDescriptors = 1 option now prevents descriptor publication to the HSDirs rather than descriptor generation.
2015-08-23Unit test dns_resolve(), dns_clip_ttl(), dns_get_expiry_ttl().rl1987
2015-05-28Merge branch '12498_ed25519_keys_v6'Nick Mathewson
Fixed numerous conflicts, and ported code to use new base64 api.
2015-05-28Start testing cell encoders/processers for the v3 handshake.Nick Mathewson
An earlier version of these tests was broken; now they're a nicer, more robust, more black-box set of tests. The key is to have each test check a handshake message that is wrong in _one_ way.
2015-05-28Key-pinning back-end for directory authorities.Nick Mathewson
This module implements a key-pinning mechanism to ensure that it's safe to use RSA keys as identitifers even as we migrate to Ed25519 keys. It remembers, for every Ed25519 key we've seen, what the associated Ed25519 key is. This way, if we see a different Ed25519 key with that RSA key, we'll know that there's a mismatch. We persist these entries to disk using a simple format, where each line has a base64-encoded RSA SHA1 hash, then a base64-endoded Ed25519 key. Empty lines, misformed lines, and lines beginning with a # are ignored. Lines beginning with @ are reserved for future extensions.
2015-04-28Add "ADD_ONION"/"DEL_ONION" and "GETINFO onions/*" to the controller.Yawning Angel
These commands allow for the creation and management of ephemeral Onion ("Hidden") services that are either bound to the lifetime of the originating control connection, or optionally the lifetime of the tor instance. Implements #6411.
2015-02-23Remove lingering mempool codecypherpunks
2015-02-18Merge branch 'bug9321_rerebase'Nick Mathewson
Conflicts: src/or/dirvote.h src/test/include.am src/test/test_entrynodes.c
2015-02-18Add unittests for the guardfraction feature.George Kadianakis
2015-02-06Merge remote-tracking branch 'sebastian/bug13993'Nick Mathewson
2015-02-06Fix check-spaces complaintsSebastian Hahn
2015-02-06Add unit test for #13290Sebastian Hahn
2015-02-02Merge remote-tracking branch 'public/bug9635_warnings_025'Nick Mathewson
Conflicts: src/test/test.c
2015-01-23Split the slow unit tests into their own binaryNick Mathewson
This can run in parallel with the faster ones and the other tests.
2015-01-23Merge branch 'if_addr_refactoring_squashed'Nick Mathewson
Conflicts: src/test/include.am src/test/test.c
2015-01-23Refactor code that looks up addresses from interfacesrl1987
Now the code has separate implementation and examination functions, uses smartlists sanely, and has relatively decent test coverage.
2015-01-23Merge remote-tracking branch 'public/ticket9969'Nick Mathewson
Conflicts: src/or/directory.c src/or/routerlist.c src/or/routerlist.h src/test/include.am src/test/test.c
2015-01-21Merge branch 'better_workqueue_v3_squashed'Nick Mathewson
2015-01-14Fix check-spacesNick Mathewson
2015-01-14Basic unit test for condition variables.Nick Mathewson
2015-01-14Move thread tests into their own moduleNick Mathewson
2015-01-12Begin writing unit tests for rewrite codeNick Mathewson
2015-01-07Merge branch 'bug9286_v3_squashed'Nick Mathewson
2015-01-07Stop accepting milliseconds in various directory contextsNick Mathewson
Have clients and authorities both have new behavior, since the fix for bug 11243 has gone in. But make clients still accept accept old bogus HSDir descriptors, to avoid fingerprinting trickery. Fixes bug 9286.
2015-01-02Bump copyright dates to 2015, in case someday this matters.Nick Mathewson
2014-11-27Merge remote-tracking branch 'andrea/cmux_refactor_configurable_threshold'Nick Mathewson
Conflicts: src/or/or.h src/test/Makefile.nmake