diff options
author | Fergus Dall <fergus@beware.dropbear.id.au> | 2016-01-12 18:09:16 +1030 |
---|---|---|
committer | Fergus Dall <fergus@beware.dropbear.id.au> | 2016-01-12 22:01:46 +1030 |
commit | 9e5a6f02937912fbb2a1582aae99186310192fa1 (patch) | |
tree | 3e12c83ba634daec960c1d3d5e5d8f4ebcd89def /changes | |
parent | 16840e52e594e221069efc9bf7b65ebfb5e2d639 (diff) | |
download | tor-9e5a6f02937912fbb2a1582aae99186310192fa1.tar.gz tor-9e5a6f02937912fbb2a1582aae99186310192fa1.zip |
Stop log_heartbeat test from failing in timezones with non-integer offsets
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.
Diffstat (limited to 'changes')
-rw-r--r-- | changes/log_heartbeat_test | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/changes/log_heartbeat_test b/changes/log_heartbeat_test new file mode 100644 index 0000000000..f0d143b6de --- /dev/null +++ b/changes/log_heartbeat_test @@ -0,0 +1,5 @@ + o Minor bugfix (testing): + - The test for log_heartbeat was incorrectly failing in timezones + with non-integer offsets. 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. |