Merge tag 'release_3_0_12' into branch moonshot-fr-3.0.12-upgrade.
[freeradius.git] / src / tests / keywords / string
1 #
2 #  PRE: cmp
3 #
4 update control {
5        Cleartext-Password := 'hello'
6 }
7
8 update request {
9         Tmp-String-0 := "this\000is\000a\000string"
10 }
11
12 #
13 #  %{string:...} is explicitly not binary safe
14 #
15 if ("%{string:Tmp-String-0}" == "this") {
16         update reply {
17                 Filter-Id := "filter"
18         }
19 }