mirror of
https://github.com/uutils/coreutils.git
synced 2026-06-10 15:48:22 -07:00
Update util.rs
add feature for `whoami`
This commit is contained in:
committed by
Sylvestre Ledru
parent
e991838ca8
commit
de01b11a7d
@@ -1767,6 +1767,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`.
|
||||
|
||||
Reference in New Issue
Block a user