Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion tests/by-util/test_nohup.rs
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ fn test_nohup_fallback_to_home() {

// Skip test when running as root (permissions bypassed via CAP_DAC_OVERRIDE)
// This is common in Docker/Podman containers but won't happen in CI
if unsafe { libc::geteuid() } == 0 {
if rustix::process::geteuid().is_root() {
println!("Skipping test when running as root (file permissions bypassed)");
return;
}
Expand Down
Loading