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

du: implement files0-from #5721

Merged
merged 7 commits into from
Dec 26, 2023
Merged

du: implement files0-from #5721

merged 7 commits into from
Dec 26, 2023

Conversation

sylvestre
Copy link
Contributor

Should make tests/du/files0-from-dir pass

Copy link

GNU testsuite comparison:

Congrats! The gnu test tests/du/files0-from-dir is no longer failing!
Skip an intermittent issue tests/tail/inotify-dir-recreate

Copy link

GNU testsuite comparison:

Congrats! The gnu test tests/du/files0-from-dir is no longer failing!

Copy link

GNU testsuite comparison:

Congrats! The gnu test tests/du/files0-from-dir is no longer failing!
Skip an intermittent issue tests/tail/inotify-dir-recreate

@cakebaker
Copy link
Contributor

Fails on Windows :|

Copy link

GNU testsuite comparison:

Congrats! The gnu test tests/du/files0-from-dir is no longer failing!

tests/by-util/test_du.rs Outdated Show resolved Hide resolved
src/uu/du/src/du.rs Outdated Show resolved Hide resolved
Comment on lines +609 to +617
Err(e) if e.kind() == std::io::ErrorKind::NotFound => {
return Err(std::io::Error::new(
std::io::ErrorKind::Other,
format!(
"cannot open '{}' for reading: No such file or directory",
file_name
),
))
}
Copy link
Contributor

Choose a reason for hiding this comment

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

This case is not covered by a test.

src/uu/du/src/du.rs Outdated Show resolved Hide resolved
Copy link

GNU testsuite comparison:

Congrats! The gnu test tests/du/files0-from-dir is no longer failing!

@sylvestre sylvestre requested a review from cakebaker December 26, 2023 12:15
Copy link

GNU testsuite comparison:

Congrats! The gnu test tests/du/files0-from-dir is no longer failing!

@cakebaker cakebaker merged commit 30eb77a into uutils:main Dec 26, 2023
58 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants