mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
Merge branch 'maint-0.3.5' into release-0.3.5
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
o Minor bugfixes (testing, windows):
|
||||
- Fix a test failure caused by an unexpected bug warning in
|
||||
our test for tor_gmtime_r(-1). Fixes bug 29922;
|
||||
bugfix on 0.2.9.3-alpha.
|
||||
@@ -885,7 +885,9 @@ test_util_time(void *arg)
|
||||
* depending on whether the implementation of the system gmtime(_r)
|
||||
* sets struct tm (1) or not (1970) */
|
||||
t_res = -1;
|
||||
CAPTURE();
|
||||
tor_gmtime_r(&t_res, &b_time);
|
||||
CHECK_POSSIBLE_EINVAL();
|
||||
tt_assert(b_time.tm_year == (1970-1900) ||
|
||||
b_time.tm_year == (1969-1900));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user