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