Skip to content

test/cp: Fix "No such file or directory" error in test_acl_preserve #7677

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

Merged
merged 1 commit into from
Apr 6, 2025

Conversation

shskwmt
Copy link
Contributor

@shskwmt shskwmt commented Apr 6, 2025

Fixes #7030

Fix a bug in test_acl_preserve that was causing "setfacl: a: No such file or directory" error messages when running with cargo test --features=cp test_acl_preserve.

Changes:

  • Use plus_as_string on path1 to generate the correct absolute path
  • Move the file path generation closer to where it's used for better code organization

Fix a bug in test_acl_preserve that was causing "setfacl: a: No such file or directory"
error messages when running with `cargo test --features=cp test_acl_preserve`.

Changes:
- Use plus_as_string on path1 to generate the correct absolute path
- Move the file path generation closer to where it's used for better code organization
@shskwmt shskwmt changed the title cp: Fix "No such file or directory" error in test_acl_preserve test/cp: Fix "No such file or directory" error in test_acl_preserve Apr 6, 2025
Copy link

github-actions bot commented Apr 6, 2025

GNU testsuite comparison:

Skip an intermittent issue tests/misc/stdbuf (fails in this run but passes in the 'main' branch)
Skip an intermittent issue tests/timeout/timeout (fails in this run but passes in the 'main' branch)

@cakebaker cakebaker merged commit f1f3a5d into uutils:main Apr 6, 2025
66 of 68 checks passed
@cakebaker
Copy link
Contributor

Thanks for your PR!

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.

cp: test_acl_preserve shows "no such file or directory" error message
2 participants