]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Yet more broken expansions
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Wed, 29 Jun 2022 16:43:16 +0000 (11:43 -0500)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Wed, 29 Jun 2022 16:43:16 +0000 (11:43 -0500)
src/tests/modules/test/dollar_expansions.unlang
src/tests/modules/test/policy.conf

index 048910208dbc21f05c245ff38d51798bfd4d22d2..9f3277330cf3d29708296a1bc636c215be3c6ba0 100644 (file)
@@ -14,6 +14,10 @@ if (&Tmp-Bool-0 != ${d_term}) {
        test_fail
 }
 
+if (<bool>"${d_term}" != yes) {
+       test_fail
+}
+
 if ('${a_term}' !~ /${a_term}/) {
        test_fail
 }
index b6886acf13665bb69fd23479a7f79e1b1b1dc29a..2ebb8ea7e96bddf1b6b12ea36186aa0e0fc9f427 100644 (file)
@@ -53,6 +53,10 @@ dollar_expansions {
                test_fail
        }
 
+       if (<bool>"${d_term}" != yes) {
+               test_fail
+       }
+
        if ('${a_term}' !~ /${a_term}/) {
                test_fail
        }