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

install: with -t, check if we aren't passed a file #5686

Merged
merged 1 commit into from
Dec 23, 2023

Conversation

sylvestre
Copy link
Sponsor Contributor

Should pass tests/install/basic-1

Copy link

GNU testsuite comparison:

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

@sylvestre sylvestre marked this pull request as ready for review December 21, 2023 08:05
Copy link

GNU testsuite comparison:

Congrats! The gnu test tests/install/basic-1 is no longer failing!

Copy link
Contributor

Choose a reason for hiding this comment

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

There is one situation not handled by this solution: if the target ends with a slash. With GNU, install -t sub/b -Dv a and install -t sub/b/ -Dv a both lead to the same error. With uutils, install -t sub/b/ -Dv a shows a "creating directory" message followed by a "failed to create" message.

Copy link
Sponsor Contributor Author

Choose a reason for hiding this comment

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

I feel that it is a different problem in this case, no ?

Copy link
Contributor

Choose a reason for hiding this comment

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

Yes, though it is related. We can fix it in another PR.

Should pass tests/install/basic-1
Copy link

GNU testsuite comparison:

Congrats! The gnu test tests/install/basic-1 is no longer failing!

@cakebaker cakebaker merged commit be82200 into uutils:main Dec 23, 2023
56 of 57 checks passed
@sylvestre sylvestre deleted the install-basic branch December 25, 2023 10:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants