From: Alan T. DeKok Date: Fri, 5 Jan 2024 13:59:31 +0000 (-0500) Subject: If arguments contain comments, they need to be quoted X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9a9fa84b0e91467d2f7655cabd29da8de96c3dea;p=thirdparty%2Ffreeradius-server.git If arguments contain comments, they need to be quoted --- diff --git a/src/tests/modules/ldap/xlat_profile.unlang b/src/tests/modules/ldap/xlat_profile.unlang index 593ad373157..96317e89431 100644 --- a/src/tests/modules/ldap/xlat_profile.unlang +++ b/src/tests/modules/ldap/xlat_profile.unlang @@ -1,4 +1,4 @@ -if (!%ldap.profile(ldap:///cn=profile2,ou=profiles,dc=example,dc=com)) { +if (!%ldap.profile('ldap:///cn=profile2,ou=profiles,dc=example,dc=com')) { test_fail } @@ -10,7 +10,7 @@ if (!((&reply.Framed-IP-Netmask == 255.255.128.0) && \ test_fail } -if (!%(ldap.profile:cn=suspended,ou=profiles,dc=example,dc=com)) { +if (!%ldap.profile('cn=suspended,ou=profiles,dc=example,dc=com')) { test_fail }