-
-
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
Improve "stat" compatibility #6933
Conversation
GNU testsuite comparison:
|
655c7cc
to
a945717
Compare
GNU testsuite comparison:
|
GNU testsuite comparison:
|
Regressed this test. I will have a look later.
|
and other formats should fix tests/stat/stat-fmt.sh
c82adaa
to
6d0db47
Compare
GNU testsuite comparison:
|
GNU testsuite comparison:
|
GNU testsuite comparison:
|
GNU testsuite comparison:
|
display_name: &str, | ||
file: &OsString, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is display_name
necessary? It looks to me like you could get it from file
with file.to_string_lossy()
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it seems legit but it isn't:
https://github.com/uutils/coreutils/blob/main/src/uu/stat/src/stat.rs#L639-L640
as you can see here, we are keeping the original name and changing :)
GNU testsuite comparison:
|
Cool, two tests fixed with one PR, good job :) |
No description provided.