Age | Commit message (Collapse) | Author | |
---|---|---|---|
2014-05-08 | Fix numerous type errors in the unit tests | Nick Mathewson | |
Remove tinytest casts that were suppressing them. Fix for #11825. | |||
2014-05-08 | Fix test_util_max_mem on 32-bit CPUs | Nick Mathewson | |
2014-05-08 | More unit tests for #11648-related stuff | Nick Mathewson | |
These are actually tests for #311. It appears to me that we didn't fix #311 properly when we thought we did in 475eb5d6; instead, the real fix was 05eff35ac6d64b, a few minutes earlier. | |||
2014-05-07 | Fix test_pick_circid on 32-bit platforms | Nick Mathewson | |
2014-05-07 | Basic tests for get_unique_circ_id_by_chan. | Nick Mathewson | |
2014-05-07 | Quick-and-dirty test for packed_cell_is_destroy | Nick Mathewson | |
2014-05-06 | Remove a spurious variable. | Nick Mathewson | |
2014-05-06 | Merge remote-tracking branch 'public/bug11750' | Nick Mathewson | |
2014-05-06 | Merge branch 'bug11743_option_b' | Nick Mathewson | |
2014-05-06 | Unit test for dirvote_create_microdescriptor | Nick Mathewson | |
2014-05-06 | Unit test for write_to_buf_zlib | Nick Mathewson | |
2014-05-06 | Add a siphash benchmark. | Nick Mathewson | |
2014-05-01 | Fix test_config_write_to_data_subdir | Nick Mathewson | |
Bugfix on aa0eb2022342798fc78b2bde89d393f37c59fe78; bugfix not on any released Tor. | |||
2014-05-01 | Merge remote-tracking branch 'public/valgrind_tests' | Nick Mathewson | |
2014-04-29 | Fix leaks in tests related to setting options->DataDirectory | Nick Mathewson | |
We pre-populate that value in main(), and we weren't freeing it before overriding it. | |||
2014-04-29 | Fix memory leaks in test_status.c | Nick Mathewson | |
2014-04-29 | Fix leaks in dir voting tests | Nick Mathewson | |
2014-04-29 | Make --disable-buf-freelists build and pass unit tests | Andrea Shepard | |
2014-04-27 | Make the python test scripts work on python3 | Nick Mathewson | |
The python scripts invoked by 'make check' didn't work on python3 before. That was a problem on systems where 'python' is python3. Fixes bug 11608; bugfix on 0.2.5.2-alpha. | |||
2014-04-26 | Fix leaks in test_oom.c | Nick Mathewson | |
2014-04-26 | Fix leaks in test_dir_formats | Nick Mathewson | |
2014-04-26 | Fix numerous leaks in test_pt.c | Nick Mathewson | |
I didn't find a managed_proxy_free() function any place; shouldn't there be one? | |||
2014-04-26 | test_cntev_append_cell_stats now no longer leaks | Nick Mathewson | |
2014-04-26 | Fix leaks in test_exit_policy_dump_to_string | Nick Mathewson | |
2014-04-26 | Memory leaks in test_config_addressmap | Nick Mathewson | |
2014-04-26 | Fix a leak in test_buffer_allocation_tracking | Nick Mathewson | |
2014-04-26 | Fix memory leak in unittest helper function. | Nick Mathewson | |
2014-04-26 | Fix memory leak in test_util_asprintf | Nick Mathewson | |
2014-04-26 | Fix memory leaks in test_cntev_append_cell_stats | Nick Mathewson | |
2014-04-26 | fix uninitialized memory reads from test_geoip_with_pt. Found with valgrind | Nick Mathewson | |
2014-04-26 | Fix memory leak in test_geoip | Nick Mathewson | |
2014-04-26 | Fix memory leak in test_onion_queues | Nick Mathewson | |
2014-04-26 | Fix memory leaks in test_circuit_timeout | Nick Mathewson | |
Found with valgrind. | |||
2014-04-25 | fix memory leak in dump_exit_policy_to_string tests | Nick Mathewson | |
2014-04-25 | Merge branch 'scanbuild_fixes' | Nick Mathewson | |
2014-04-24 | Merge branch 'bug11396_v2_squashed' | Nick Mathewson | |
Conflicts: src/or/main.c | |||
2014-04-24 | get_total_system_memory(): see how much RAM we have | Nick Mathewson | |
2014-04-19 | scan-build: avoid undef behaior in tor_inet_pton | Nick Mathewson | |
If we had an address of the form "1.2.3.4" and we tried to pass it to tor_inet_pton with AF_INET6, it was possible for our 'eow' pointer to briefly move backwards to the point before the start of the string, before we moved it right back to the start of the string. C doesn't allow that, and though we haven't yet hit a compiler that decided to nuke us in response, it's best to fix. So, be more explicit about requiring there to be a : before any IPv4 address part of the IPv6 address. We would have rejected addresses without a : for not being IPv6 later on anyway. | |||
2014-04-19 | scan-build: Fix harmless sizeof(ptr) in test_oom.c | Nick Mathewson | |
We meant to using random bytes to fill a buffer, up to 3000 at a time. Instead we were taking them sizeof(void*) at a time. | |||
2014-04-18 | scan-build: fix a crash-on-fail possibility in test_policy.c | Nick Mathewson | |
2014-04-17 | Fix uninitialized-ram free in unit tests | Nick Mathewson | |
Fix on fb595922; bug not in any released Tor. Found with --enable-expensive-hardening. | |||
2014-04-15 | Fix compiler warning on test_status.c | Nick Mathewson | |
2014-04-15 | Uplift status.c unit test coverage with new test cases and macros. | dana koch | |
A new set of unit test cases are provided, as well as introducing an alternative paradigm and macros to support it. Primarily, each test case is given its own namespace, in order to isolate tests from each other. We do this by in the usual fashion, by appending module and submodule names to our symbols. New macros assist by reducing friction for this and other tasks, like overriding a function in the global namespace with one in the current namespace, or declaring integer variables to assist tracking how many times a mock has been called. A set of tests for a small-scale module has been included in this commit, in order to highlight how the paradigm can be used. This suite gives 100% coverage to status.c in test execution. | |||
2014-04-12 | Merge remote-tracking branch 'asn/bug11486' | Nick Mathewson | |
2014-04-11 | Add another unit test for parse_bridge_line(). | George Kadianakis | |
2014-04-09 | Fix a dumb C bug in the unit tests for 9841 | Nick Mathewson | |
Fixes bug 11460; bug only affects unit tests and is not in any released version of Tor. | |||
2014-04-09 | Merge remote-tracking branch 'public/bug10431' | Nick Mathewson | |
2014-04-08 | Move existing policy tests from test.c to new test_policy.c | Nick Mathewson | |
2014-04-08 | Remove unused extern decl for a nonexistent test suite | Nick Mathewson | |
2014-04-08 | Merge branch 'bug7952_final' | Nick Mathewson | |
Conflicts: src/test/include.am src/test/test.c |