From: Alan T. DeKok Date: Thu, 25 Aug 2022 00:27:38 +0000 (-0400) Subject: update message so that xlat-subst passes X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fc5ffa9ba88d272e97d423ebebfc1e086dc414fa;p=thirdparty%2Ffreeradius-server.git update message so that xlat-subst passes and we get the real error from the underlying function, and not the error from something else. --- diff --git a/src/lib/unlang/xlat_eval.c b/src/lib/unlang/xlat_eval.c index af9b38d9b30..22e658ffd74 100644 --- a/src/lib/unlang/xlat_eval.c +++ b/src/lib/unlang/xlat_eval.c @@ -250,7 +250,7 @@ do { \ if (fr_dlist_empty(list)) { if (arg->required) { - REDEBUG("Function %s is missing required argument %u", name, arg_num); + RWDEBUG("Function %s is missing required argument %u", name, arg_num); return XLAT_ACTION_FAIL; } return XLAT_ACTION_DONE; diff --git a/src/tests/keywords/all.mk b/src/tests/keywords/all.mk index abf2c38624e..5074ddf988d 100644 --- a/src/tests/keywords/all.mk +++ b/src/tests/keywords/all.mk @@ -41,7 +41,7 @@ test.keywords.${1}: $(addprefix $(OUTPUT)/,${1}) # Migration support. Some of the tests don't run under the new # conditions, so we don't run them under the new conditions. # -ifeq "$(findstring ${1}, paircmp xlat-subst)" "" +ifeq "$(findstring ${1}, paircmp)" "" $(OUTPUT)/${1}: NEW_COND=-S parse_new_conditions=yes -S use_new_conditions=yes endif