aboutsummaryrefslogtreecommitdiff
path: root/src/test
Commit message (Collapse)AuthorAge
* Add checks to prevent memcmp(.,.,negative) in tests (CID 1064417)Nick Mathewson2013-11-22
|
* Fix another unit test memory leak. CID1087949,CID1087950.Nick Mathewson2013-11-22
|
* Fix a bunch of coverity-spotted unit test resource leaksNick Mathewson2013-11-22
| | | | CIDs: 1130994, 1130993, 1130992, 1130991
* Remove needless fd var from test. CID 1130989.Nick Mathewson2013-11-22
|
* Whitespace cleanupNick Mathewson2013-11-20
|
* Fix crypto/digests testNick Mathewson2013-11-18
|
* Merge branch 'finish_prop157'Nick Mathewson2013-11-18
|\
| * Make the dir-key-crosscert element requiredNick Mathewson2013-11-14
| | | | | | | | | | | | | | | | | | | | | | | | In proposal 157, we added a cross-certification element for directory authority certificates. We implemented it in 0.2.1.9-alpha. All Tor directory authorities now generate it. Here, as planned, make it required, so that we can finally close proposal 157. The biggest change in the code is in the unit test data, where some old hardcoded certs that we made long ago have become no longer valid and now need to be replaced.
* | Fix whitespaceNick Mathewson2013-11-18
| |
* | Merge branch 'backtrace_squashed'Nick Mathewson2013-11-18
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * | Tests for backtrace.cNick Mathewson2013-11-18
| | | | | | | | | | | | | | | These need to be a separate executable, since the point of backtrace.c is that it can crash and write stuff.
| * | Unit tests for new functions in log.cNick Mathewson2013-11-18
| | |
| * | Add a signal-safe decimal formatting functionNick Mathewson2013-07-19
| | |
* | | Fix test_cmdline_args to work with old opensslNick Mathewson2013-11-11
| | | | | | | | | | | | | | | | | | If openssl was old, Tor would add a warning about its version in between saying "no torrc found, using reasonable defaults" and "configuration was valid".
* | | Documentation and tests for 10060Nick Mathewson2013-11-07
| | |
* | | Merge branch 'morestats4' into morestats5Karsten Loesing2013-10-28
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * | | squash! Pass const uint64_t pointers, document array length.Karsten Loesing2013-10-28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Don't cast uint64_t * to const uint64_t * explicitly. The cast is always safe, so C does it for us. Doing the cast explitictly can hide bugs if the input is secretly the wrong type. Suggested by Nick.
| * | | Pass const uint64_t pointers, document array length.Karsten Loesing2013-09-12
| | | | | | | | | | | | | | | | Suggested by nickm.
| * | | Pass around const struct timeval * instead of struct timeval.Karsten Loesing2013-09-12
| | | | | | | | | | | | | | | | Suggested by nickm.
| * | | Test functions used for TB_EMPTY and CELL_STATS events.Karsten Loesing2013-05-31
| | | |
* | | | Make test_cmdline_args.py work with older pythonsNick Mathewson2013-10-21
| | | | | | | | | | | | | | | | | | | | | | | | I was using the assertIn() function on unit tests, which Python 2.7 introduced. But we'd like to be able to run our unit tests on Pythons from older operating systems.
* | | | Fix out-of-tree "make check-local"Nick Mathewson2013-10-11
| | | |
* | | | When possible, run the ntor python integration tests tooNick Mathewson2013-10-11
| | | |
* | | | When python is available, run the commandline unit tests from "make check"Nick Mathewson2013-10-11
| | | |
* | | | Merge branch 'bug1376'Nick Mathewson2013-10-11
|\ \ \ \
| * | | | Fix some whitespace; tighten the tests.Nick Mathewson2013-10-11
| | | | |
| * | | | Added test for new write_chunks_to_file behaviour in #1376.Kevin Butler2013-09-04
| | | | |
* | | | | Merge remote-tracking branch 'origin/maint-0.2.4'Nick Mathewson2013-10-10
|\ \ \ \ \ | | |_|_|/ | |/| | |
| * | | | Merge remote-tracking branch 'origin/maint-0.2.3' into maint-0.2.4Nick Mathewson2013-10-10
| |\ \ \ \
| | * | | | Fix unit test for format_helper_exit_statusNick Mathewson2013-10-10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix format_helper_exit_status to allow full HEX_ERRNO_SIZE answers, *and* increase the buffer length again.
* | | | | | test-network.sh: tools dir in PATH, parameterizationJim Pannacciulli2013-09-29
| | | | | |
* | | | | | Use tt_ptr_op, not test_eq, for pointer comparisons in testsNick Mathewson2013-09-23
| | | | | | | | | | | | | | | | | | | | | | | | Makes mingw64 a bit happier.
* | | | | | Fix benchmarks to run without crashing.Nick Mathewson2013-09-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I broke this when I added separate test-mode support by having the benchmarks get built with TEST_CFLAGS.
* | | | | | Merge branch 'bug4647_squashed'Nick Mathewson2013-09-13
|\ \ \ \ \ \
| * | | | | | Finish tests for command-line argumentsNick Mathewson2013-09-13
| | | | | | |
| * | | | | | Integration test for parsing arguments on the commandlineNick Mathewson2013-09-13
| | |_|/ / / | |/| | | | | | | | | | | | | | | | (incomplete)
* | | | | | Fix unit tests with --disable-curve25519Nick Mathewson2013-09-08
| | | | | |
* | | | | | Merge branch 'maint-0.2.4'Roger Dingledine2013-09-04
|\ \ \ \ \ \ | | |/ / / / | |/| | | | | | | | | | | | | | | | Conflicts: src/test/test.c
| * | | | | refactor and give it unit testsRoger Dingledine2013-09-04
| | | | | |
* | | | | | Fix some "ISO C90 forbids mixed declarations and code" warningsNick Mathewson2013-09-03
| | | | | |
* | | | | | Fix warnings in test_config_fix_my_familyNick Mathewson2013-09-03
| | | | | |
* | | | | | Merge remote-tracking branch 'Ryman/bug4341'Nick Mathewson2013-09-03
|\ \ \ \ \ \
| * | | | | | MyFamily option will now fix fingerprints missing their leading instead of ↵Kevin Butler2013-08-31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | complaining. Should fix #4341.
* | | | | | | Handle HTTP minor versions greater than 9Nick Mathewson2013-09-03
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (In practice they don't exist, but so long as we're making changes for standards compliance...) Also add several more unit tests for good and bad URL types.
* | | | | | | Tougher validation for parsing urls from HTTP headers. Fixes #2767.Kevin Butler2013-09-03
| |_|/ / / / |/| | | | |
* | | | | | Basic unit test for EVENT_TRANSPORT_LAUNCHEDNick Mathewson2013-08-25
|/ / / / /
* | | | | Fix a wide line in test_geoip_with_ptNick Mathewson2013-08-15
| | | | |
* | | | | Merge branch 'bug5040_4773_rebase_3'Nick Mathewson2013-08-15
|\ \ \ \ \
| * | | | | Test ExtORPort cookie initialization when file writing is broken.George Kadianakis2013-08-15
| | | | | |
| * | | | | Test some fail conditions of ext_orport.c USERADDR/TRANSPORT parsing.George Kadianakis2013-08-15
| | | | | |