Debian Codegraph @

src/tests/keywords/map-xlat

raw
1 #
2 # PRE: update
3 #
4 # Test the map xlat
5 #
6 update {
7 control:Cleartext-Password := 'hello'
8 reply:Filter-Id := "filter"
9 }
10
11 update {
12 Tmp-String-0 := '&control:Tmp-String-0 := \'testing123\''
13 }
14
15 if ("%{map:%{Tmp-String-0}}" != 1) {
16 update reply {
17 Filter-Id += 'Fail 0'
18 }
19 }
20
21 if (&control:Tmp-String-0 != 'testing123') {
22 update reply {
23 Filter-Id += 'Fail 1'
24 }
25 }