Skip to content
Merged
Show file tree
Hide file tree
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
1 change: 0 additions & 1 deletion src/log/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ use std::sync::OnceLock;
mod simple_logger;
mod syslog;

// TODO: logger_macro has an allow_unused that should be removed
macro_rules! logger_macro {
($name:ident is $rule_level:ident to $target:expr, $d:tt) => {
macro_rules! $name {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -305,11 +305,6 @@ fn when_no_run_as_spec_then_target_user_cannot_be_a_regular_user() {

#[test]
fn when_no_run_as_spec_then_an_arbitrary_target_group_may_not_be_specified() {
if sudo_test::sudo_version() < sudo_test::ogsudo("1.9.14p2") {
// original sudo should pass this test after 1.9.14p2
return;
}

let env = Env("ALL ALL = NOPASSWD: ALL")
.user(User(USERNAME))
.group(GROUPNAME)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -298,10 +298,6 @@ fn user_and_group_works_when_one_is_passed_as_arg() {

#[test]
fn user_and_group_succeeds_when_both_are_passed() {
if sudo_test::sudo_version() < sudo_test::ogsudo("1.9.14p2") {
return;
}

let env = Env([
&format!("Runas_Alias OP = otheruser, {GROUPNAME}"),
&format!("{USERNAME} ALL = (OP:OP) NOPASSWD: ALL"),
Expand Down Expand Up @@ -347,11 +343,6 @@ fn different_aliases_user_and_group_works_when_one_is_passed_as_arg() {

#[test]
fn different_aliases_user_and_group_succeeds_when_both_are_passed() {
if sudo_test::is_original_sudo() {
// TODO: original sudo should pass this test after 1.9.14b2
return;
}

let env = Env([
&format!("Runas_Alias GROUPALIAS = {GROUPNAME}"),
("Runas_Alias USERALIAS = otheruser"),
Expand Down
Loading