So far std::thread::sleep was used in the tests to ensure that fileA is older than fileB. With this PR, the same is done by calling set_modified on the "older" file, thus speeding up the tests.
Skip an intermittent issue tests/tail/inotify-dir-recreate (fails in this run but passes in the 'main' branch)
Congrats! The gnu test tests/mv/dup-source is no longer failing!
So far
std::thread::sleep
was used in the tests to ensure thatfileA
is older thanfileB
. With this PR, the same is done by callingset_modified
on the "older" file, thus speeding up the tests.