From: Alan T. DeKok Date: Sun, 27 Aug 2023 12:43:35 +0000 (-0400) Subject: paircmp works with new conditions X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=43e967aab74a1de640fed15e52cc8f6032281b85;p=thirdparty%2Ffreeradius-server.git paircmp works with new conditions --- diff --git a/src/tests/keywords/all.mk b/src/tests/keywords/all.mk index b423519e7e6..8f621ea99b8 100644 --- a/src/tests/keywords/all.mk +++ b/src/tests/keywords/all.mk @@ -77,10 +77,7 @@ KEYWORD_UPDATE_TMPL_TESTS := xlat-dhcpv4 # Migration support. Some of the tests don't run under the new # conditions, so we don't run them under the new conditions. # -ifneq "$(findstring ${1}, paircmp)" "" -$(OUTPUT)/${1}: NEW_COND=-S use_new_conditions=no - -else ifneq "$(findstring ${1}, update-to-edit $(KEYWORD_UPDATE_TESTS) xlat-unknown )" "" +ifneq "$(findstring ${1}, update-to-edit $(KEYWORD_UPDATE_TESTS) xlat-unknown )" "" $(OUTPUT)/${1}: NEW_COND=-S use_new_conditions=yes else ifneq "$(findstring ${1}, $(KEYWORD_UPDATE_REWRITE_TESTS))" "" diff --git a/src/tests/keywords/paircmp b/src/tests/keywords/paircmp index ab8e67ef737..3966524730a 100644 --- a/src/tests/keywords/paircmp +++ b/src/tests/keywords/paircmp @@ -1,9 +1,7 @@ # -# PRE: if update +# PRE: if # -update request { - &NAS-IP-Address := 127.0.0.1 -} +&NAS-IP-Address := 127.0.0.1 # # test raw values