[tor-bugs] #18025 [Tor]: test_util_touch_file is racy and *does* fail

Tor Bug Tracker & Wiki blackhole at torproject.org
Sat Jan 9 15:29:13 UTC 2016


#18025: test_util_touch_file is racy and *does* fail
--------------------+------------------------------------
 Reporter:  weasel  |          Owner:  nickm
     Type:  defect  |         Status:  assigned
 Priority:  Medium  |      Milestone:  Tor: 0.2.8.x-final
Component:  Tor     |        Version:  Tor: 0.2.7.6
 Severity:  Normal  |     Resolution:
 Keywords:          |  Actual Points:
Parent ID:          |         Points:
  Sponsor:          |
--------------------+------------------------------------

Comment (by weasel):

 {{{
 weasel at valiant:~$ while :; do rm -f x; date +'%Y-%m-%d %H:%M:%S.%N'; echo
 fo > x  ; (stat -c %y x); echo ;done | perl -e '$/=""; while (<>) { print
 if /\.00/ && /\.99/; }'
 2016-01-09 16:28:51.002161899
 2016-01-09 16:28:50.997310311 +0100

 2016-01-09 16:28:53.002053462
 2016-01-09 16:28:52.997292088 +0100

 }}}

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/18025#comment:7>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list