Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mv: remove sleep in tests #6880

Merged
merged 1 commit into from
Nov 25, 2024
Merged

Conversation

cakebaker
Copy link
Contributor

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.

Copy link

GNU testsuite comparison:

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!

@sylvestre sylvestre merged commit c7798d5 into uutils:main Nov 25, 2024
62 checks passed
@cakebaker cakebaker deleted the mv_remove_sleep_in_tests branch November 25, 2024 09:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants