diff options
author | Andreas Henriksson | 2014-07-26 22:44:01 +0200 |
---|---|---|
committer | Karel Zak | 2014-07-29 12:18:22 +0200 |
commit | be0e5d2c5570fca7d7ce7afa326d7d7283472066 (patch) | |
tree | d75bacde1e7de9c814101b0be08a89b69bea8556 /sys-utils/nsenter.c | |
parent | docs: bring the runuser and su man pages closer to standard formatting (diff) | |
download | kernel-qcow2-util-linux-be0e5d2c5570fca7d7ce7afa326d7d7283472066.tar.gz kernel-qcow2-util-linux-be0e5d2c5570fca7d7ce7afa326d7d7283472066.tar.xz kernel-qcow2-util-linux-be0e5d2c5570fca7d7ce7afa326d7d7283472066.zip |
tests: allow non-inotify tailf to keep up
When tailf is not using inotify, it seems to sleep for 0.25s between
checks. Just giving a 0.1s time window between update and removal of the
input file thus gives little chance for tailf to succeed.
Similar between startup and append to file, make sure initial
content is read before appending additional data by bumping the time.
This should possibly be bumped much larger to make sure that
the tailf process actually gets a chance to run at all in the
given time window. Otherwise it might fail on really slow/overloaded
machines.
The drawback would then ofcourse be to increase the time it takes
to run the testsuite.
Signed-off-by: Andreas Henriksson <andreas@fatal.se>
Diffstat (limited to 'sys-utils/nsenter.c')
0 files changed, 0 insertions, 0 deletions