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: Fix bug on Redox OS introduced by xattr handling #6215

Merged
merged 1 commit into from
Apr 12, 2024

Conversation

dahc
Copy link
Contributor

@dahc dahc commented Apr 11, 2024

Redox OS doesn't support extended attributes yet, so this commit breaks mv there for the "fallback" case of rename_with_fallback().

This PR addresses the issue through a few simple cfg conditional changes. Tested manually on Linux and Redox.

Copy link

GNU testsuite comparison:

Skip an intermittent issue tests/tail/inotify-dir-recreate (fails in this run but passes in the 'main' branch)

1 similar comment
Copy link

GNU testsuite comparison:

Skip an intermittent issue tests/tail/inotify-dir-recreate (fails in this run but passes in the 'main' branch)

@BenWiederhake BenWiederhake merged commit 9d82fa3 into uutils:main Apr 12, 2024
63 of 64 checks passed
@BenWiederhake
Copy link
Collaborator

Thank you!

Can I nudge you to add a CI script so that we automatically build and test on redox? If I understand you correctly, this would have been caught by the automated tests, right? :)

@cakebaker
Copy link
Contributor

@BenWiederhake it's already in the CI, though the tests are skipped, see #5642

@dahc
Copy link
Contributor Author

dahc commented Apr 12, 2024

Thanks! Yeah, I'll have a look at the outstanding issues for getting CI tests running. We all want to move that way. :)

@BenWiederhake
Copy link
Collaborator

Ah, fantastic! Yeah, I should have checked that instead of just assuming.

Is it perhaps possible to enable the tests gradually? This way we don't have any major regressions while you're working towards the goal.

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.

3 participants