summaryrefslogtreecommitdiff
path: root/src/test
AgeCommit message (Collapse)Author
2016-01-27attempt to fix crashes in unit testsNick Mathewson
2016-01-27Correct further grammatical errors in tor commentsNick Mathewson
Avoid using a pronoun where it makes comments unclear. Avoid using gender for things that don't have it. Avoid assigning gender to people unnecessarily.
2016-01-21Merge remote-tracking branch 'twstrike/parse_port_config_tests'Nick Mathewson
2016-01-19Merge remote-tracking branch 'twstrike/options_test'Nick Mathewson
2016-01-19Make sure that tests for domain sockets only run on OSes with domain socketsOla Bini
2016-01-19Use correct u64 int ops instead of regular int ops, in order to avoid ↵Ola Bini
warnings on 32bit clang
2016-01-15Fix some leaks in the unit tests.Nick Mathewson
2016-01-15Make the new directory tests build and run again.Nick Mathewson
Had to disable a couple. Also add changes file for 17003.
2016-01-15Merge remote-tracking branch 'twstrike/directory-tests'Nick Mathewson
2016-01-15Whitespace cleanupNick Mathewson
2016-01-13Update tests to match current changes to options_validateOla Bini
2016-01-13Move clearing of log messages on advice from @cypherpunks, in order to ↵Ola Bini
minimize risk of race conditions leading to another memory leak
2016-01-13Revert my addition of callback cleaner and instead use existing ↵Ola Bini
functionality for temporary log files
2016-01-13Remove a small memory leak in log callback setupOla Bini
2016-01-13Fix memory leaksOla Bini
2016-01-13Fix all white space issuesOla Bini
2016-01-13Fix some issues in gcc warningsOla Bini
2016-01-13Add tests for options_actOla Bini
2016-01-12Fix remaining memory leaksOla Bini
2016-01-12Fix some memory leaksOla Bini
2016-01-12Make it compile with gcc-warnings turned onOla Bini
2016-01-12Stop log_heartbeat test from failing in timezones with non-integer offsetsFergus Dall
Instead of comparing the end of the time string against a constant, compare it to the output of format_local_iso_time when given the correct input.
2016-01-11Make the touch_file unit test work around FS/system time sync issuesNick Mathewson
Sometimes you can call time() and then touch a file, and have the second come out a little before the first. See #18025 for way more information than you necessarily wanted.
2016-01-11Merge remote-tracking branch 'rl1987/feature17950'Nick Mathewson
2016-01-08Merge branch 'unixninja_ticket15989_squashed'Nick Mathewson
2016-01-08Added AccountRule in and AccountingRule out optionsunixninja92
2016-01-08Merge remote-tracking branch 'public/feature16794_more'Nick Mathewson
2016-01-07Fix #18012 harder.Nick Mathewson
2016-01-07Try to fix windows test build (#18012)Nick Mathewson
2016-01-06Add FallbackDir list to GETINFO config/defaultsGeorge Tankersley
2016-01-03Unit tests for getpw* functionsNick Mathewson
2016-01-03clean up the "skip this util test on windows" logic.Nick Mathewson
2016-01-03Add a test for touch_fileNick Mathewson
2016-01-03Explicitly test our get/set_uint{8,16,32,64}.Nick Mathewson
2016-01-03Test another codepath in inet_ntopNick Mathewson
2016-01-03Add family argument to get_interface_addresses_raw (and subfunctions).rl1987
2015-12-23Unit tests for crypto_force_rand_ssleay().Nick Mathewson
Part of 16794.
2015-12-23Always test both ed25519 backends.Nick Mathewson
Part of #16794
2015-12-21Fix a couple of jenkins issues from 12538.Nick Mathewson
2015-12-21Merge remote-tracking branch 'public/bug12538_merged'Nick Mathewson
2015-12-20Appease "make check-spaces"Nick Mathewson
2015-12-20Repair "make distcheck".Nick Mathewson
2015-12-20Merge remote-tracking branch 'yawning/feature17783_take2'Nick Mathewson
2015-12-20Add the randomized large buffer test for SHA-3 incremental hashing.Yawning Angel
This creates a random 100 KiB buffer, and incrementally hashes (SHA3-512) between 1 and 5 * Rate bytes in a loop, comparing the running digest with the equivalent one shot call from the start of the buffer.
2015-12-19Add `crypto_xof_t` and assorted routines, backed by SHAKE256.Yawning Angel
This is an eXtendable-Output Function with the following claimed security strengths against *all* adversaries: Collision: min(d/2, 256) Preimage: >= min(d, 256) 2nd Preimage: min(d, 256) where d is the amount of output used, in bits.
2015-12-19Add the SHA-3 hash functions to common/crypto.h.Yawning Angel
* DIGEST_SHA3_[256,512] added as supported algorithms, which do exactly what is said on the tin. * test/bench now benchmarks all of the supported digest algorithms, so it's possible to see just how slow SHA-3 is, though the message sizes could probably use tweaking since this is very dependent on the message size vs the SHA-3 rate.
2015-12-18fix routerlist/pick_directory_server_impl in light of 12538Nick Mathewson
2015-12-18Fix config/directory_fetch after 12538 mergeNick Mathewson
2015-12-18Fix nodelist/node_is_dir test wrt 12538.Nick Mathewson
2015-12-18Merge branch 'feature12538_028_01_squashed'Nick Mathewson