]> git.ipfire.org Git - thirdparty/tor.git/commit
Make the touch_file unit test work around FS/system time sync issues
authorNick Mathewson <nickm@torproject.org>
Mon, 11 Jan 2016 15:03:00 +0000 (10:03 -0500)
committerNick Mathewson <nickm@torproject.org>
Mon, 11 Jan 2016 15:03:00 +0000 (10:03 -0500)
commit16840e52e594e221069efc9bf7b65ebfb5e2d639
tree41c682bd3d51984a20e95b3eb67db97f94ba7280
parent1d6dd288e1c084a5118785899cca910e8c69fbb1
Make the touch_file unit test work around FS/system time sync issues

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.
src/test/test_util.c