Age | Commit message (Collapse) | Author | |
---|---|---|---|
2014-01-29 | add test case for node_describe_by_id | Qingping Hou | |
2014-01-29 | add test case for hidden service async events | Qingping Hou | |
2014-01-17 | Add an --accel switch to run unit tests with crypto acceleration | Nick Mathewson | |
2013-11-22 | Fix another unit test memory leak. CID1087949,CID1087950. | Nick Mathewson | |
2013-11-18 | Merge branch 'backtrace_squashed' | Nick Mathewson | |
Conflicts: src/common/sandbox.c src/common/sandbox.h src/common/util.c src/or/main.c src/test/include.am src/test/test.c | |||
2013-11-18 | Unit tests for new functions in log.c | Nick Mathewson | |
2013-10-28 | Merge branch 'morestats4' into morestats5 | Karsten Loesing | |
Conflicts: doc/tor.1.txt src/or/config.c src/or/connection.h src/or/control.c src/or/control.h src/or/or.h src/or/relay.c src/or/relay.h src/test/test.c | |||
2013-09-08 | Fix unit tests with --disable-curve25519 | Nick Mathewson | |
2013-09-04 | Merge branch 'maint-0.2.4' | Roger Dingledine | |
Conflicts: src/test/test.c | |||
2013-09-04 | refactor and give it unit tests | Roger Dingledine | |
2013-08-15 | Fix a wide line in test_geoip_with_pt | Nick Mathewson | |
2013-08-15 | Merge branch 'bug5040_4773_rebase_3' | Nick Mathewson | |
2013-08-15 | Unit tests for ext_or_id_map. | Nick Mathewson | |
2013-08-15 | Split out buffers and socks tests into separate modules. | Nick Mathewson | |
No other changes were made here. Keeping everything in src/test/test.c was a legacy of back when we had all our unit tests in one big file. Doing this now because I'm adding an ext_or_command test. | |||
2013-08-15 | If a single client connects with multiple transports, note all transports. | George Kadianakis | |
2013-08-15 | Trivially change unittests to make them more readable. | George Kadianakis | |
Pluggable transport names are now in alphabetical order like they appear in the bridge-ip-transports string. | |||
2013-08-15 | Make check-spaces happy. | George Kadianakis | |
2013-08-15 | Fix some unittests that broke when we added bridge-ip-transports. | George Kadianakis | |
2013-08-15 | Add a unittest for the bridge-ip-transports extra-info line. | George Kadianakis | |
2013-07-19 | Regression test for destroy cell queue | Nick Mathewson | |
This exercises the code that crashed and caused #9296. | |||
2013-07-18 | Add transport information to the GeoIP database. | George Kadianakis | |
2013-07-18 | Start of a unit test for options_validate. | Nick Mathewson | |
I added this so I could write a unit test for ServerTransportOptions, but it incidentally exercises the succeed-on-defaults case of options_validate too. | |||
2013-07-18 | Unit tests for cell queues. | Nick Mathewson | |
This removes some INLINE markers from functions that probably didn't need them. | |||
2013-07-10 | Add some basic unit tests for the circuit map data structure. | Nick Mathewson | |
These show off the new mocking code by mocking the circuitmux code so that we can test the circuit map code in isolation. | |||
2013-07-10 | Completely refactor how FILENAME_PRIVATE works | Nick Mathewson | |
We previously used FILENAME_PRIVATE identifiers mostly for identifiers exposed only to the unit tests... but also for identifiers exposed to the benchmarker, and sometimes for identifiers exposed to a similar module, and occasionally for no really good reason at all. Now, we use FILENAME_PRIVATE identifiers for identifiers shared by Tor and the unit tests. They should be defined static when we aren't building the unit test, and globally visible otherwise. (The STATIC macro will keep us honest here.) For identifiers used only by the unit tests and never by Tor at all, on the other hand, we wrap them in #ifdef TOR_UNIT_TESTS. This is not the motivating use case for the split test/non-test build system; it's just a test example to see how it works, and to take a chance to clean up the code a little. | |||
2013-06-12 | Fix #9043 - simplyfy the code and use EVP_PKEY_cmp instead of pkey_eq / ↵ | Marek Majkowski | |
tor_tls_evp_pkey_eq | |||
2013-06-10 | Bug #5170 - make pkey_eq testable, introduce test_tortls.c | Marek Majkowski | |
2013-05-31 | Test functions used for TB_EMPTY and CELL_STATS events. | Karsten Loesing | |
2013-05-15 | Merge remote-tracking branch 'origin/maint-0.2.4' | Nick Mathewson | |
2013-05-15 | Fix unit tests to pass after fix for #8879 | Nick Mathewson | |
2013-05-09 | Merge remote-tracking branch 'origin/maint-0.2.4' | Nick Mathewson | |
2013-05-09 | Merge remote-tracking branch 'origin/maint-0.2.3' into maint-0.2.4 | Nick Mathewson | |
2013-05-09 | Don't run off the end of the array-of-freelists | Nick Mathewson | |
This is a fix for bug 8844, where eugenis correctly notes that there's a sentinel value at the end of the list-of-freelists that's never actually checked. It's a bug since the first version of the chunked buffer code back in 0.2.0.16-alpha. This would probably be a crash bug if it ever happens, but nobody's ever reported something like this, so I'm unsure whether it can occur. It would require write_to_buf, write_to_buf_zlib, read_to_buf, or read_to_buf_tls to get an input size of more than 32K. Still, it's a good idea to fix this kind of thing! | |||
2013-04-18 | Merge remote-tracking branch 'origin/maint-0.2.4' | Nick Mathewson | |
Conflicts: src/common/crypto.c | |||
2013-04-18 | Fix some wide lines | Nick Mathewson | |
2013-04-11 | socks5 will ask for username/password if we offer it | Roger Dingledine | |
Commit a264c4fe made the socks5 server prefer auth 2 if it's offered, but it didn't update the unit test to expect it. | |||
2013-04-11 | socks5 will ask for username/password if we offer it | Roger Dingledine | |
Commit a264c4fe made the socks5 server prefer auth 2 if it's offered, but it didn't update the unit test to expect it. | |||
2013-04-05 | Merge remote-tracking branch 'origin/maint-0.2.4' | Nick Mathewson | |
2013-04-05 | test.c: Try to create a more random temporary directory for our workspace ↵ | Peter Palfrader | |
(re: Bug#8638) | |||
2013-03-15 | Merge remote-tracking branch 'origin/maint-0.2.4' | Nick Mathewson | |
Conflicts: src/or/routerlist.c | |||
2013-03-01 | More unit tests for old TAP onion handshake. | Nick Mathewson | |
The test coverage for onion_tap.c is now at 89%, up from 67%. | |||
2013-02-23 | Remove a bunch of unused macro definitions | Nick Mathewson | |
2013-02-11 | Fix a null-deref-on-fail in unit tests | Nick Mathewson | |
If geoip_format_bridge_stats() returned NULL when it should have returned a string, we would have tried to deref NULL, and died. Not a big deal in the unit tests, but still worth fixing. Found by coverity; This is CID 743384. | |||
2013-02-11 | Resolve memory leaks in the unit tests and benchmarks (found by coverity) | Nick Mathewson | |
These shouldn't really matter, but it's nice to be leak-free. | |||
2013-01-29 | Fix unit test to not expect v2 directory request geoip info | Nick Mathewson | |
When we implemented #5823 and removed v2 directory request info, we never actually changed the unit tests not to expect it. Fixes bug 8084; bug not in any released version of Tor. | |||
2013-01-19 | Merge remote-tracking branch 'karsten/bug5823' | Nick Mathewson | |
2013-01-17 | Remove dirreq-v2-* lines from extra-info descriptors. | Karsten Loesing | |
Implements the rest of #5823. | |||
2013-01-16 | Implement proposal 204: ignore subdomains in hidden service addresses | Jérémy Bobbio | |
The implementation is pretty straightforward: parse_extended_hostname() is modified to drop any leading components from an address like 'foo.aaaaaaaaaaaaaaaa.onion'. | |||
2013-01-16 | Update the copyright date to 201. | Nick Mathewson | |
2013-01-03 | ntor: Don't fail fast server-side on an unrecognized KEYID(B) | Nick Mathewson | |