Improve "stat" compatibility #6933
Conversation
|
GNU testsuite comparison: |
1 similar comment
|
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
|
GNU testsuite comparison: |
|
GNU testsuite comparison: |
|
GNU testsuite comparison: |
|
GNU testsuite comparison: |
| display_name: &str, | ||
| file: &OsString, |
There was a problem hiding this comment.
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.
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.