]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
temporarily use the old condition code
authorAlan T. DeKok <aland@freeradius.org>
Sun, 21 Aug 2022 15:39:48 +0000 (11:39 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Mon, 22 Aug 2022 00:34:11 +0000 (20:34 -0400)
because the new one (as yet) does not purify complex conditions.

We could call xlat_purify() from compile.c, or just manually
check the || and && when parsing in xlat_expr.c

src/tests/keywords/all.mk

index 9174df5a7a02a7aa432c322dee448eb46670347b..d5d9391fab6b9670ff5820c4563a5fd36f588a75 100644 (file)
@@ -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-string xlat-subst)" ""
+ifeq "$(findstring ${1}, paircmp xlat-string xlat-subst if-failed-xlat if-regex-match-comp if-regex-match-named)" ""
 $(OUTPUT)/${1}: NEW_COND=-S parse_new_conditions=yes -S use_new_conditions=yes
 endif