]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
test function call inside of function argument
authorAlan T. DeKok <aland@freeradius.org>
Wed, 27 Sep 2023 23:45:47 +0000 (19:45 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Wed, 27 Sep 2023 23:45:47 +0000 (19:45 -0400)
src/tests/unit/xlat/purify.txt

index 15903b8c3286069cf8c5dd019dc6069291ce21ea..4de530afdce68afd6184863474a991233eebc12a 100644 (file)
@@ -237,6 +237,12 @@ match "a""b""c""d"
 xlat_purify %md5(foo)
 match 0xacbd18db4cc2f85cedef654fccc4a4d8
 
+xlat_purify %md5(%md5(foo))
+match 0x47847ae721df523d6388aebc9c94d656
+
+xlat_purify %md5('%md5(foo)')
+match 0x5e153571422b69cf5c5f7ce5f03985b5
+
 #
 #  Because this isn't a reference to the contents of &User-Name
 #
@@ -254,4 +260,4 @@ xlat_purify %md5(&User-Name)
 match 0x14d23a6ed8e7d19fcb3a38dc86c1fc0b
 
 count
-match 112
+match 116