From: Alan T. DeKok Date: Fri, 24 Feb 2023 20:56:56 +0000 (-0500) Subject: statements can just run inline. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=49e79f3d1357fd1b70a435c3ffa69bc2e311141d;p=thirdparty%2Ffreeradius-server.git statements can just run inline. There's no need to wrap them in "if" statements --- diff --git a/src/tests/keywords/policy.conf b/src/tests/keywords/policy.conf index add5ffd419c..284a6976822 100644 --- a/src/tests/keywords/policy.conf +++ b/src/tests/keywords/policy.conf @@ -6,27 +6,21 @@ # Outputs the contents of the control list in debugging (-X) mode # debug_control { - if("%(debug_attr:&control.[*])" == '') { - noop - } + %(debug_attr:&control.[*]) } # # Outputs the contents of the request list in debugging (-X) mode # debug_request { - if("%(debug_attr:&request.[*])" == '') { - noop - } + %(debug_attr:&request.[*]) } # # Outputs the contents of the reply list in debugging (-X) mode # debug_reply { - if("%(debug_attr:&reply.[*])" == '') { - noop - } + %(debug_attr:&reply.[*]) } # diff --git a/src/tests/process/dictionary b/src/tests/process/share/test/dictionary similarity index 100% rename from src/tests/process/dictionary rename to src/tests/process/share/test/dictionary