[PATCH] Extend delay in PSXFILE01 test with one tick

Jiri Gaisler jiri at gaisler.se
Mon Jan 7 12:35:13 UTC 2019

Checking of atime in psxfile01 (line 713) can fail since a delay for
rtems_clock_get_ticks_per_second (line 699) gives a delay of less than
one second, depending on when the last tick occurred. atime is measured
in whole seconds, and a fast processor might read the file before a new
second occurs. Add one tick to the delay will solve the problem.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: psxfile01.diff
Type: text/x-patch
Size: 527 bytes
Desc: not available
URL: <http://lists.rtems.org/pipermail/devel/attachments/20190107/def69a96/attachment.bin>

More information about the devel mailing list