Age | Commit message (Collapse) | Author | |
---|---|---|---|
2016-08-20 | s/connection_handle_oos/connection_check_oos/g per code review | Andrea Shepard | |
2016-08-20 | Unit test for pick_oos_victims() | Andrea Shepard | |
2016-08-20 | Unit test for kill_conn_list_for_oos() | Andrea Shepard | |
2016-08-20 | Unit test for connection_handle_oos() | Andrea Shepard | |
2016-08-12 | Merge remote-tracking branch 'public/Fix_19450' | Nick Mathewson | |
2016-08-02 | Search for remaining references to 'bufferevent'. | Nick Mathewson | |
Remove or adjust as appropriate. | |||
2016-08-02 | Remove generic_buffer_*() functions as needless. | Nick Mathewson | |
These functions were there so that we could abstract the differences between evbuffer and buf_t. But with the bufferevent removal, this no longer serves a purpose. | |||
2016-08-02 | Rename generic_buffer_set_to_copy, since generic buffers are not a thing | Nick Mathewson | |
2016-08-02 | Remove USE_BUFFEREVENTS code outside src/or | 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-28 | Merge branch 'bug18902_squashed' | Nick Mathewson | |
2016-07-28 | Fix all -Wshadow warnings on Linux | Nick Mathewson | |
This is a partial fix for 18902. | |||
2016-07-26 | Merge branch 'feature19116_squashed' | Nick Mathewson | |
2016-07-26 | We fixed #15937, update a comment | teor (Tim Wilson-Brown) | |
2016-07-26 | Call chutney's test-network.sh when it is available | teor (Tim Wilson-Brown) | |
Also mark the parts of tor's test-network.sh that can be deleted once everyone has updated to chutney's test-network.sh. | |||
2016-07-26 | Add a dry run mode to test-network.sh | teor (Tim Wilson-Brown) | |
2016-07-26 | Add a function to simplify a fraction. | Nick Mathewson | |
Apparently remembering euclid's algorithm does pay off sooner or later. | |||
2016-07-26 | Remove windows debugging prints: it was an integer overflow hitting ftrapv | Nick Mathewson | |
2016-07-26 | Redux: Temporarily add windows verbosity to track down jenkins failures | Nick Mathewson | |
2016-07-21 | Make monotime test mocking work with oom tests. | Nick Mathewson | |
2016-07-21 | Use new mock functions in buffer/time_tracking test | Nick Mathewson | |
2016-07-19 | Merge branch 'monotonic_v2_squashed' | Nick Mathewson | |
2016-07-19 | Unit tests for monotonic time | Nick Mathewson | |
2016-07-19 | convert timers.c to use real monotonic time. | Nick Mathewson | |
2016-07-18 | Rewrite test-network.sh so out-of-tree and $PATH binaries work | teor (Tim Wilson-Brown) | |
2016-07-17 | Keep make check-spaces happy | Andrea Shepard | |
2016-07-17 | Merge branch 'maint-0.2.8' | Nick Mathewson | |
2016-07-17 | Fix warnings in test_util_formats. | Nick Mathewson | |
Storing 255 into a char gives a warning when char is signed. Fixes bug 19682; bugfix on 0.2.8.1-alpha, where these tests were added. | |||
2016-07-08 | Merge remote-tracking branch 'sebastian/libevent2' | Nick Mathewson | |
2016-07-06 | test coverage on onion_fast: 0%->100% | Nick Mathewson | |
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-07-06 | When saving mocked log messages, always create the list. | Nick Mathewson | |
Otherwise, our code needs to check "list && smarlist_len(list)..." | |||
2016-07-06 | Improve test coverage a little on onion*.c | Nick Mathewson | |
2016-07-06 | Fix sign in test-timers | Nick Mathewson | |
2016-07-05 | Merge remote-tracking branch 'teor/bug18456' | Nick Mathewson | |
2016-07-05 | Test: fix shared random test checking bad errno | David Goulet | |
The test was checking for EISDIR which is a Linux-ism making other OSes unhappy. Instead of checking for a negative specific errno value, just make sure it's negative indicating an error. We don't need more for this test. Signed-off-by: David Goulet <dgoulet@torproject.org> | |||
2016-07-05 | Fix shared-random test | Nick Mathewson | |
2016-07-05 | Merge branch 'maint-0.2.8' | Nick Mathewson | |
2016-07-05 | Repair unit test that assumed we have 9 dirauths. | Nick Mathewson | |
2016-07-05 | Merge remote-tracking branch 'dgoulet/bug19567_029_01' | Nick Mathewson | |
2016-07-05 | Merge remote-tracking branch 'asn/bug19551' | Nick Mathewson | |
2016-07-04 | sr: add the base16 RSA identity digest to commit | David Goulet | |
Keep the base16 representation of the RSA identity digest in the commit object so we can use it without using hex_str() or dynamically encoding it everytime we need it. It's used extensively in the logs for instance. Fixes #19561 Signed-off-by: David Goulet <dgoulet@torproject.org> | |||
2016-07-04 | test: Fix shared random buffer overrun | David Goulet | |
Encoded commit has an extra byte at the end for the NUL terminated byte and the test was overrunning the payload buffer by one byte. Found by Coverity issue 1362984. Fixes #19567 Signed-off-by: David Goulet <dgoulet@torproject.org> | |||
2016-07-04 | Raise libevent dependency to 2.0.10-stable or newer | Sebastian Hahn | |
Only some very ancient distributions don't ship with Libevent 2 anymore, even the oldest supported Ubuntu LTS version has it. This allows us to get rid of a lot of compat code. | |||
2016-07-02 | Fix edge case fail of shared random unittest. | George Kadianakis | |
The test_state_update() test would fail if you run it between 23:30 and 00:00UTC in the following line because n_protocol_runs was 2: tt_u64_op(state->n_protocol_runs, ==, 1); The problem is that when you launch the test at 23:30UTC (reveal phase), sr_state_update() gets called from sr_state_init() and it will prepare the state for the voting round at 00:00UTC (commit phase). Since we transition from reveal to commit phase, this would trigger a phase transition and increment the n_protocol_runs counter. The solution is to initialize the n_protocol_runs to 0 explicitly in the beginning of the test, as we do for n_reveal_rounds, n_commit_rounds etc. | |||
2016-07-01 | Keep make check-spaces happy | Andrea Shepard | |
2016-07-01 | Windows open() returns eacces when eisdir would be sane | Nick Mathewson | |
2016-07-01 | Fix i386 conversion warnings | Nick Mathewson | |
2016-07-01 | Fix a -Wmissing-variable-declarations warning | Nick Mathewson | |
2016-07-01 | Merge remote-tracking branch 'dgoulet/ticket16943_029_05-squashed' | Nick Mathewson | |
Trivial Conflicts: src/or/or.h src/or/routerparse.c |