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 subdir detection #5483

Merged
merged 1 commit into from
Dec 25, 2023
Merged

mv: fix subdir detection #5483

merged 1 commit into from
Dec 25, 2023

Conversation

cakebaker
Copy link
Contributor

@cakebaker cakebaker commented Oct 31, 2023

This PR fixes the subdirectory detection so that test is not incorrectly recognized as a subdirectory of test2 when calling mv test test2.

Fixes #5481

src/uu/mv/src/mv.rs Outdated Show resolved Hide resolved
Copy link

github-actions bot commented Nov 1, 2023

GNU testsuite comparison:

Congrats! The gnu test tests/rm/rm2 is no longer failing!
Skip an intermittent issue tests/rm/rm1

Copy link

GNU testsuite comparison:

Congrats! The gnu test tests/mv/dir2dir is no longer failing!
Skipping an intermittent issue tests/tail/inotify-dir-recreate

@sylvestre sylvestre merged commit db9f4cc into uutils:main Dec 25, 2023
57 checks passed
@cakebaker cakebaker deleted the mv_fix_5481 branch December 26, 2023 05:56
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.

mv: fails if source dir name is subset of target dir name
3 participants