-
-
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
whoami
has 0 coverage on Windows
#4614
Labels
Comments
It seems that CI bypasses the only common test covered in Windows. coreutils/tests/by-util/test_whoami.rs Lines 42 to 52 in e920d8d
Can I fix it by adding a dummy command test in Windows? #[test]
#[cfg(windows)]
fn test_normal_windows() {
new_ucmd!().succeeds().no_stderr();
} |
yeah, let's try that :) |
garydev10
added a commit
to garydev10/coreutils
that referenced
this issue
May 26, 2023
garydev10
added a commit
to garydev10/coreutils
that referenced
this issue
May 26, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Maybe the test isn't executed on Windows?
https://app.codecov.io/gh/uutils/coreutils/blob/main/src/uu/whoami/src/platform/windows.rs
The text was updated successfully, but these errors were encountered: