Skip to content

cp: --preserve should keep xattr#5834

Merged
cakebaker merged 4 commits intouutils:mainfrom
sylvestre:cp-acl
Jan 15, 2024
Merged

cp: --preserve should keep xattr#5834
cakebaker merged 4 commits intouutils:mainfrom
sylvestre:cp-acl

Conversation

@sylvestre
Copy link
Contributor

Should help with tests/cp/acl.sh

@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)
Congrats! The gnu test tests/cp/acl is no longer failing!

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)
Congrats! The gnu test tests/cp/acl is no longer failing!

}

#[cfg(all(unix, not(target_os = "macos")))]
fn compare_xattrs<P: AsRef<Path>>(path1: P, path2: P) -> bool {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i will update this code to use the one in
#5835

after this one is merged

@github-actions
Copy link

GNU testsuite comparison:

Congrats! The gnu test tests/cp/acl is no longer failing!

Should help with tests/cp/acl.sh
@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)
Congrats! The gnu test tests/cp/acl is no longer failing!

@cakebaker
Copy link
Contributor

Congrats! The gnu test tests/cp/acl is no longer failing!

Kudos :)

Co-authored-by: Daniel Hofstetter <daniel.hofstetter@42dh.com>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it the expected behavior that the test doesn't fail if the changes in cp.rs are not applied?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeah, i am planning to fix mac and the tests once they land :)

sylvestre and others added 2 commits January 14, 2024 17:27
Co-authored-by: Daniel Hofstetter <daniel.hofstetter@42dh.com>
Co-authored-by: Daniel Hofstetter <daniel.hofstetter@42dh.com>
@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)
Congrats! The gnu test tests/cp/acl is no longer failing!

@cakebaker cakebaker merged commit fff8399 into uutils:main Jan 15, 2024
@sylvestre sylvestre deleted the cp-acl branch March 30, 2024 22:20
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.

2 participants