Update util.rs

add feature for `whoami`
This commit is contained in:
Jan Scheer
2022-05-01 20:15:44 +02:00
committed by Sylvestre Ledru
parent e991838ca8
commit de01b11a7d
+1
View File
@@ -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`.