-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
cp: makes --preserve requires = #4928
Conversation
Fixes #4924 The issue mentions |
it is a GNU test, sorry |
could you please add a test to make sure we don't regress ? |
Done. It's the same test as |
the name is fine :) |
GNU testsuite comparison:
|
sweet: |
but it broke many windows tests. could you please have a look ? |
The broken tests related to 'preserve' on windows are because "ownership" is unix only and the previous version of the patch was setting ownership as part of the default missing values no matter the operating system. Unfortunately I don't have access to a windows machine. I hope this fixes it. |
GNU testsuite comparison:
|
GNU testsuite comparison:
|
prevents --preserve to eat the next argument when no value is passed. default value for --preserve is set to mode,ownership(unix only),timestamps before the patch: cp --preserve foo bar error: invalid value 'foo' for '--preserve [<ATTR_LIST>...]' [possible values: mode, ownership, timestamps, context, link, links, xattr, all] Signed-off-by: Guillaume Ranquet <[email protected]>
GNU testsuite comparison:
|
prevents --preserve to eat the next argument when no value is passed.
default value for --preserve is set to mode,ownership,timestamps
before the patch:
cp --preserve foo bar
error: invalid value 'foo' for '--preserve [<ATTR_LIST>...]'
[possible values: mode, ownership, timestamps, context, link, links, xattr, all]