Age | Commit message (Collapse) | Author | |
---|---|---|---|
2016-06-30 | Add tv_udiff and tv_mdiff unit tests with negative values | teor (Tim Wilson-Brown) | |
2016-06-29 | Add more unit tests for tv_udiff and tv_mdiff | teor (Tim Wilson-Brown) | |
2016-06-20 | Small coverage improvements on compat.c | Nick Mathewson | |
2016-06-19 | Fix #19063: Add check in utility macro | U+039b | |
2016-06-19 | Merge branch 'zlib_coverage_squashed' | Nick Mathewson | |
2016-06-19 | Unindent block | Nick Mathewson | |
2016-06-19 | Remove support for zlib <= 1.1 | Nick Mathewson | |
zlib 1.2 came out in 2003; earlier versions should be dead by now. Our workaround code was only preventing us from using the gzip encoding (if we decide to do so), and having some dead code linger around in torgzip.c | |||
2016-06-16 | Coverage on parse_config_line_from_str_verbose. | Nick Mathewson | |
2016-06-16 | Remove parse_config_line_from_str alias | Nick Mathewson | |
All of our code just uses parse_config_line_from_str_verbose. | |||
2016-06-16 | Mark code unreachable in unescape_string() | Nick Mathewson | |
Also, add tests for it in case someday it does become reachable. | |||
2016-06-16 | On Windows, tv_sec is long, not time_t. | Nick Mathewson | |
I'm not angry, Windows: just very disappointed. | |||
2016-06-16 | Try to fix memarea test on 32-bit systems | Nick Mathewson | |
2016-06-16 | tests for size_mul_check__() | Nick Mathewson | |
it's important, and we should make sure we got it right. | |||
2016-06-16 | Correct the rounding behavior on tv_mdiff. | Nick Mathewson | |
Fix for bug 19428. | |||
2016-06-16 | Improve coverage on tv_udiff, and tv_mdiff. | Nick Mathewson | |
I found some bugs in tv_mdiff; separate commit for that | |||
2016-06-16 | Improve coverage on esc_for_log, esc_for_log_len | Nick Mathewson | |
2016-06-16 | Reach 100% line coverage on memarea.c | Nick Mathewson | |
2016-06-11 | Merge branch 'bug19180_easy_squashed' | Nick Mathewson | |
2016-06-11 | Resolve some warnings from OSX clang. | Nick Mathewson | |
2016-06-11 | Add -Wfloat-conversion for GCC >= 4.9 | Nick Mathewson | |
This caught quite a few minor issues in our unit tests and elsewhere in our code. | |||
2016-06-08 | Unit tests for our zlib code to test and reject compression bombs. | Nick Mathewson | |
2016-06-02 | Merge branch 'maint-0.2.8' | Nick Mathewson | |
2016-06-02 | Merge branch 'maint-0.2.7' into maint-0.2.8 | Nick Mathewson | |
2016-06-02 | Use tor_sscanf, not sscanf, in test_util.c. | Nick Mathewson | |
Fixes the 0.2.7 case of bug #19213, which prevented mingw64 from working. | |||
2016-05-19 | Remove round_int64_to_next_multiple_of: It is now unused. | Nick Mathewson | |
2016-05-12 | Run tor_sscanf test in subprocess, in hopes of coaxing more info from jenkins | Nick Mathewson | |
2016-04-05 | Don't call the system toupper or tolower. | Nick Mathewson | |
Yes, we could cast to unsigned char first, but it's probably safest to just use our own (in test_util), or remove bad-idea features that we don't use (in readpassphrase.c). Fixes 18728. | |||
2016-03-28 | One more test that didnt pass on windows. See #18665. | Nick Mathewson | |
2016-03-26 | Whitespace fixes | Nick Mathewson | |
2016-03-25 | Disable failing broken time format case for windows. | Nick Mathewson | |
2016-03-24 | try to fix a test failure for sizeof(time_t)==4. | Nick Mathewson | |
2016-03-24 | Merge branch 'timegm_overflow_squashed' | Nick Mathewson | |
2016-03-24 | Add a missing UL on a long in a unit test | teor (Tim Wilson-Brown) | |
2016-03-24 | Add unit tests with dates from 2035 to 2039 | teor (Tim Wilson-Brown) | |
Platforms with 32-bit time_t sometimes give different results. They don't always indicate failure on overflow, #18480 should fix these. | |||
2016-02-27 | Update the copyright year. | Nick Mathewson | |
2016-02-23 | Another clang+_FORTIFY_SOURCE issue | Nick Mathewson | |
There was a parenthesis issue in test_util that clang found confusing. This part was only in master. Closes issue 14821. | |||
2016-01-11 | Make the touch_file unit test work around FS/system time sync issues | Nick 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-07 | Fix #18012 harder. | Nick Mathewson | |
2016-01-07 | Try to fix windows test build (#18012) | Nick Mathewson | |
2016-01-03 | Unit tests for getpw* functions | Nick Mathewson | |
2016-01-03 | clean up the "skip this util test on windows" logic. | Nick Mathewson | |
2016-01-03 | Add a test for touch_file | Nick Mathewson | |
2015-11-19 | Merge remote-tracking branch 'teor/bug17632-no-ipv4-no-localhost-squashed' | Nick Mathewson | |
2015-11-19 | Fixup #17638: ignore EINVAL from FreeBSD jails without ::1 | teor (Tim Wilson-Brown) | |
In my testing, an IPv6-only FreeBSD jail without ::1 returned EINVAL from tor_ersatz_socketpair. Let's not fail the unit test because of this - it would only ever use tor_socketpair() anyway. | |||
2015-11-19 | Make tor_ersatz_socketpair work on IPv6-only systems | teor (Tim Wilson-Brown) | |
(But it won't work on some systems without IPv4/IPv6 localhost (some BSD jails) by design, to avoid creating sockets on routable IP addresses. However, those systems likely have the AF_UNIX socketpair, which tor prefers.) Fixes bug #17638; bugfix on a very early tor version, earlier than 22dba27d8dd5 (23 Nov 2004) / svn:r2943. Patch by "teor". | |||
2015-11-19 | Fix unit tests on systems without IPv4 or localhost addresses | teor (Tim Wilson-Brown) | |
Make unit tests pass on IPv6-only systems, and systems without localhost addresses (like some FreeBSD jails). Fixes: * get_if_addrs_ifaddrs: systems without localhost * get_if_addrs_ioctl: only works on IPv4 systems * socket: check IPv4 and IPv6, skip on EPROTONOSUPPORT * socketpair_ersatz: uses IPv4, skip on EPROTONOSUPPORT Fixes bug #17632; bugfix on unit tests in 0.2.7.3-rc. c464a367728d was a partial fix for this issue in #17255; it was released in unit tests in 0.2.7.4-rc. Patch by "teor". | |||
2015-11-19 | Really Really Fixup 86eba14ac549: Windows support, error return values | teor (Tim Wilson-Brown) | |
2015-11-18 | Really Fixup 86eba14ac549: error return values are negative | teor (Tim Wilson-Brown) | |
2015-11-18 | Fixup 86eba14ac549: add errno.h for EPROTONOSUPPORT | teor (Tim Wilson-Brown) | |
2015-11-18 | Fix unit tests on systems without IPv4 or localhost addresses | teor (Tim Wilson-Brown) | |
Make unit tests pass on IPv6-only systems, and systems without localhost addresses (like some FreeBSD jails). Fixes: * get_if_addrs_ifaddrs: systems without localhost * get_if_addrs_ioctl: only works on IPv4 systems * socket: check IPv4 and IPv6, skip on EPROTONOSUPPORT * socketpair_ersatz: uses IPv4, skip on EPROTONOSUPPORT Fixes bug #17632; bugfix on unit tests in 0.2.7.3-rc. c464a367728d was a partial fix for this issue in #17255; it was released in unit tests in 0.2.7.4-rc. Patch by "teor". |