Thanks to visit codestin.com
Credit goes to github.com

Skip to content

mv: Fix bug on Redox OS introduced by xattr handling#6215

Merged
BenWiederhake merged 1 commit intouutils:mainfrom
dahc:redox_noxattr
Apr 12, 2024
Merged

mv: Fix bug on Redox OS introduced by xattr handling#6215
BenWiederhake merged 1 commit intouutils:mainfrom
dahc:redox_noxattr

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.

@github-actions
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
@github-actions
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
@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

Comments