Share helper reconciliation and verify Linux and Windows native fixtures
Rust development slice / linux (push) Failing after 6s
Rust development slice / linux (push) Failing after 6s
This commit is contained in:
@@ -138,3 +138,19 @@ impl Outcome {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/// Explicit configured privileged identity; never infer SYSTEM from Linux root.
|
||||
#[derive(Clone, Copy, Debug, Default, PartialEq, Eq)]
|
||||
pub enum HelperIdentity {
|
||||
#[default]
|
||||
Root,
|
||||
System,
|
||||
}
|
||||
impl HelperIdentity {
|
||||
pub fn as_str(self) -> &'static str {
|
||||
match self {
|
||||
Self::Root => "root",
|
||||
Self::System => "system",
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user