From af754e596a8dbb05ed8580c342e7fe02e08b28e0 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 13 Apr 2024 16:11:00 +0200 Subject: Adding upstream version 3.2.3+dfsg. Signed-off-by: Daniel Baumann --- src/tests/keywords/string | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 src/tests/keywords/string (limited to 'src/tests/keywords/string') diff --git a/src/tests/keywords/string b/src/tests/keywords/string new file mode 100644 index 0000000..bcf0fcf --- /dev/null +++ b/src/tests/keywords/string @@ -0,0 +1,19 @@ +# +# PRE: cmp +# +update control { + Cleartext-Password := 'hello' +} + +update request { + Tmp-String-0 := "this\000is\000a\000string" +} + +# +# %{string:...} is explicitly not binary safe +# +if ("%{string:Tmp-String-0}" == "this") { + update reply { + Filter-Id := "filter" + } +} -- cgit v1.2.3