diff --git a/tests/by-util/test_whoami.rs b/tests/by-util/test_whoami.rs index cbcf86028a1..9e6c35be6e2 100644 --- a/tests/by-util/test_whoami.rs +++ b/tests/by-util/test_whoami.rs @@ -50,3 +50,8 @@ fn test_normal_compare_env() { println!("test skipped:"); } } + +#[test] +fn test_succeeds_on_all_platforms() { + new_ucmd!().succeeds().no_stderr(); +}