}
# Check the ZSCORE
-if !(%redis('ZCOUNT', "{%{control.IP-Pool.Name}%}:pool", '-inf', '+inf') == 0) {
+if !(%redis('ZCOUNT', "{%{control.IP-Pool.Name}}:pool", '-inf', '+inf') == 0) {
test_fail
}
}
# Check the ZSCORE
-if (%redis('ZSCORE', "{%{control.IP-Pool.Name}%}:pool", %{reply.Framed-IP-Address}) <= %l) {
+if (%redis('ZSCORE', "{%{control.IP-Pool.Name}}:pool", "%{reply.Framed-IP-Address}") <= %l) {
test_fail
}
}
# Check the ZSCORE
-if (%redis('ZSCORE', "{%{control.IP-Pool.Name}%}:pool", %{reply.Framed-IP-Address}) > %l) {
+if (%redis('ZSCORE', "{%{control.IP-Pool.Name}}:pool", %{reply.Framed-IP-Address}) > %l) {
test_fail
}