1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-07-31 13:07:46 +00:00

Update util.rs

add feature for `whoami`
This commit is contained in:
Jan Scheer 2021-09-20 00:20:06 +02:00 committed by GitHub
parent da198dbb19
commit 4ef7723248
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1578,6 +1578,7 @@ mod tests {
#[test]
#[cfg(unix)]
#[cfg(feature = "whoami")]
fn test_run_ucmd_as_root() {
// We need non-interactive `sudo.
// CICD environment should allow non-interactive `sudo`.