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: gnu test case mv-n compatibility #6598

Open
matrixhead opened this issue Jul 28, 2024 · 0 comments
Open

mv: gnu test case mv-n compatibility #6598

matrixhead opened this issue Jul 28, 2024 · 0 comments
Labels

Comments

@matrixhead
Copy link
Contributor

This GNU test checks whether mv -n works as expected, and it was failing for a number of reasons.

reason 1:

touch a b
mv -vin a b

In GNU's implementation, this would fail silently without giving any error, but uu-mv would exit with an error saying:
mv: not replacing 'b'

reason 2

mv -b --update=none  a b

In GNU's implementation, this would fail with an error saying mv: cannot combine --backup with --exchange, -n, or --update=none-fail, but in uu-mv's case, it would fail silently.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants