mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-08-01 05:27:45 +00:00
Update util.rs
add feature for `whoami`
This commit is contained in:
parent
e991838ca8
commit
de01b11a7d
1 changed files with 1 additions and 0 deletions
|
@ -1767,6 +1767,7 @@ mod tests {
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
#[cfg(unix)]
|
#[cfg(unix)]
|
||||||
|
#[cfg(feature = "whoami")]
|
||||||
fn test_run_ucmd_as_root() {
|
fn test_run_ucmd_as_root() {
|
||||||
// We need non-interactive `sudo.
|
// We need non-interactive `sudo.
|
||||||
// CICD environment should allow non-interactive `sudo`.
|
// CICD environment should allow non-interactive `sudo`.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue