diff --git a/tests/helper/pfcli.rs b/tests/helper/pfcli.rs index 01e4532..5eedc1e 100644 --- a/tests/helper/pfcli.rs +++ b/tests/helper/pfcli.rs @@ -15,7 +15,8 @@ pub fn is_enabled() -> bool { } else if str.starts_with("Status: Disabled") { false } else { - panic!("Invalid response."); + let stderr = str_from_stdout(&output.stderr); + panic!("Invalid output from pfctl ({}), stdout:\n{str}\nstderr:\n{stderr}", output.status); } }